Author: admin

  • Blog
  • Author: admin

Custom Membership and Role Provider In ASP.NET

Put this into web.config file for removing default connection string <connectionStrings> <remove name=”LocalSqlServer”/> <add name=”xyzConnectionString” connectionString=”Data Source=vsdotnet; Initial Catalog=xyz;User Id=sa;Password=sa;” providerName=”System.Data.SqlClient”/> </connectionStrings> Put this in web.config file for membership providers. <membership> <providers> <remove name=”AspNetSqlMembershipProvider”/> <add connectionStringName=”xyzConnectionString” enablePasswordRetrieval=”false” enablePasswordReset=”true” requiresQuestionAndAnswer=”true” applicationName=”/” requiresUniqueEmail=”false” passwordFormat=”Hashed” maxInvalidPasswordAttempts=”4″ minRequiredPasswordLength=”7″ minRequiredNonalphanumericCharacters=”1″ passwordAttemptWindow=”10″ passwordStrengthRegularExpression=”” name=”AspNetSqlMembershipProvider” type=”System.Web.Security.SqlMembershipProvider,System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”/> </providers> </membership> put

Routing with UI-Router and Angular.js

In Today’s world, Angular.js is one of best JavaScript framework available to create Single page applications. It’s provides some great features and with the help of this features we can built great interactive apps. In any single page application routing is very important as in most of the time single page application will not have

Project.json file in ASP.NET 5(vNext)

Recently Microsoft has released the preview version of ASP.NET 5(vNext) as a Part of Visual Studio 2015 CTP. As this whole .NET framework is rewritten from the scratch so there are lots of change there. One of most exciting changes in ASP.NET 5(vNext) is moving all changes in Project.json file instead of solution. This Project.json

Structure with Interface in C#

Recently I have been playing with Structure and it is fun. I have written couple of blog post about structure. Following are links for that. Structure in C# Structure with constructor in C# In this blog post we are going to learn how we can use structure with interface. So like earlier example I’ve created