-
Namespace in ASP.NET
Commonly Used Types and Namespaces in ASP.NET System.Web HttpApplication HttpCookie HttpRequest HttpResponse HttpRuntime HttpServerUtility System.Web.ApplicationServices *NEW AuthenticationService NEW ProfileService NEW RoleService NEW System.Web.Caching Cache System.Web.ClientServices *NEW ClientFormsIdentity NEW ClientRolePrincipal NEW ConnectivityStatus NEW System.Web.ClientServices.Providers *NEW ClientFormsAuthenticationMembershipProvider NEW ClientRoleProvider NEW System.Web.Compilation BuildProvider System.Web.Configuration WebConfigurationManager *NEW System.Web.Hosting ApplicationManager System.Web.Management WebBasedEvent System.Web.Security FormsAuthentication FormsIdentity Membership Roles System.Web.SessionState HttpSessionState System.Web.UI…
-
Isolated Unit Test of Business Logic With NMock in TDD
Hello All In test driven development its always needed to test a particular project tested with make it isolate ( test with removing dependency from other projects ), In this scenario we virtually create the input set which will be produced from other projects(class,methods etc) and test whether our testable methods are functioning with that…
-
ASP.NET Form Authentication
Hello All Today I will demonstrate how to do Form based authentication manually.Though it can be maintained through login controls which is provided by Visual Studio but sometime we need to do the task without using those controls and the required database. First we have to perform validation for the user, then we needed to…
-
Web service creation & consuming with ASP.NET
Hello all Today I will show how to create web service with VS2008 and consume it in different application. first I have opened a web service from File>New web site > web service named "DemoWebService". now in the solution explorer we can a Service.asmx file and the Service.cs file in App_Code . I have added…
-
Important coding standard
To day I will go through about coding standard which we must have to follow during development . 1.Pascal casing should have to follow in Class & Method naming example : public class TestClass{}; public void TestMethod(){}; 2.Camel casing should have to follow in writing and local variable and parameter. example : int localCounter;public void…
-
How to make a web application using Visual Studio
Today I will show how simple it is to make a web application installer with Visual Studio. I have assumed that you have a project already open and now you want to make a installer for it. First we have to add a new project from File->Add->New Project 42-c94fcf559256″ class=”wlWriterSmartContent” style=”display: inline; margin: 0px; padding:…
