Problem I have two types of session wrappers: Type 1 public class SessionHandler { public static SessionHandler CurrentSession { get […]
Tag: asp.net
Simple search page.
Problem using System; using System.Web.UI.WebControls; namespace RideShare.Web { public partial class UserOrganization : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs […]
Using properties efficiently in inheritance
Problem I have a class called Mailer which has some properties like this public static string Cname { get { […]
Subscribe to Event form one service to another
Problem In my architecture I have service layer, and for my question two relevant classes in this layer: UserManagementService EmailSenderService […]
Caling AJAX Method for multiple hidden ids aspx
Problem I am calling a ajax method for a number of hidden client ids on an aspx page. The ajax […]
Database connection class performance
Problem This is my general database connection class. I am using this class to execute my queries through website. What […]
Platform for creating data-oriented web apps
Problem In my web development company, we have many designers who have the following development knowledge: Client-side web languages (HTML, […]
Is this correct way to setup DB Infrastructure with repository pattern and Dapper
Problem So, I am using Repository pattern with Dapper and ADO.NET. I have my based DB infrastructure setup as follows: […]
Joining tables with EF
Problem Here is my database: Here is my viewModel: public class groupsFoldersViewModel { private DAL.educationSocialNetworkEntities DB = new DAL.educationSocialNetworkEntities(); public […]
Using composition instead of inheritance
Problem I have been using Entity Framework 6, AutoMapper, ASP.NET Web Api and hit a few problems along the way, […]