Posts

Install URL Rewrite 2.0 Module for IIS 10.0 on window 10

Please follow the below step for the installing url rewriting 2.0 Module in IIS 10 on window 10 Open Regedit > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp Edit "MajorVersion" and change base Hexadecimal to Decimal  Set the "DECIMAL" value to 9 Press F5 while in Regedit Install the URL Rewrite 2.0 module. Change the "MajorVersion" back to "DECIMAL" value of 10 Press F5 while in Regedit Close Regedit Enjoy the URL Rewirting 2.0 Module :-)

New features in different version of SQL SERVER

SQL SERVER 2000 Query Analyzer and Enterprise manager are separate We can create maximum of 65,535 databases. SQL SERVER 2005 Query Analyzer and Enterprise manager are combined as SSMS(Sql Server management Studio) XML data type is introduced We can create 2(pow(20))-1 databases We can compress the tables and indexes Varchar(max) or Varbinary(max) is available SSIS is started using PIVOT and UNPIVOT functions are introduced. Database can encrypt SQL SERVER 2008 We can able to Encrypt the entire Database Introduced Back-Up Encryption. XML Datatype is implemented and used. FILESTREAM Datatype is introduced LINQ is introduced for retrieving multiple types of data Table-Valued Parameters is introduced Merge Statement is included Major Changes in DateTime -DATE, TIME, DATETIMEOFFSET, DATETIME2 The restriction has been removed for UDTs( In 2005, UDTs where restricted to max. size of  8 KB) Data Synchronization is introduced. It support maximum of 64 logical pro

New features in different version of asp.net mvc

ASP.NET MVC3 New Project Templates for HTML 5 and CSS 3 Added new Razor View Engine Support for Multiple View Engines(Razor & Aspx) Support for Unobtrusive JavaScript Partial page output caching Improved Model validation Controller improvements(Viewbag) Improved Dependency Injection ASP.NET MVC 4 ASP.NET Web API Provided Bundling and Minification Asynchronous Controllers using Task Supported OAuth and OpenID Supported Windows Azure SDK 1.6 and upper Adaptive rendering Empty Project Template Mobile Project Template Add Controller using right click ASP.NET MVC5 ASP.NET Identity Authentication Filters Bootstrap  Attribute Routing Filter Overrides ASP.NET MVC6 (vNext) JSON based project extension Single Programming Model Improved Cloud Computing Side by side deployment Used Roslyn compiler

About me

Hey! I am Harshal Patel asp.net mvc developer and have 7 years of hand over Microsoft .NET technologies and other web technologies. I would like to share my working experience, research and knowledge through my blogs. I love to work with web application using Microsoft technology including ASP.NET, MVC, C#, SQL Server, Web API, Entity Framework, Windows Azure, jQuery,  Angular.js and many more web technologies. I strive to be the best he can be. I always try to gain more knowledge and skills in Microsoft technologies. I always keep up with new Microsoft technologies and skills that allow me to provide better solutions to problems. I am a team player with good analytical and problem-solving skills with results oriented approach and I have excellent communication skills, representative skills and leadership qualities.

Get OAuth 2.0 access token of Paypal using HttpClient in c#

Here called paypal Rest API using System.Net.Http.HttpClient for OAuth 2.0 access token try  { // ClientId of your Paypal app API          string  API ClientId = " ASCxaD7FzuvGbX-xxxxxxxx.....xxxxxxxxxxx-6RZDgwLuOyrCsy3 " ;                 // secret key of you Paypal app API string   API Secret = " ENldyFXuW46R7Wv0 xxxxxxxx.....xxxxxxxxxxx ee8pyH8 " ;          using ( var client = new System.Net.Http. HttpClient ())         {              var byteArray = Encoding .UTF8.GetBytes( API ClientId + ":" + API Secret );             client.DefaultRequestHeaders.Authorization = new Headers. AuthenticationHeaderValue ( "Basic" , Convert .ToBase64String(byteArray));              var url = new Uri ( "https://api.sandbox.paypal.com/v1/oauth2/token" , UriKind .Absolute);             client.DefaultRequestHeaders.IfModifiedSince = DateTime .UtcNow;              var requestParams = new List < KeyValuePai

Generics method using interface in c#

Implement an Interface with Generic Methods namespace  Win.Data { // Created Interface for field of table      public   interface   IFieldTable     {          string  Id {  get ;  set ; }          DateTime  TimeStamp {  get ;  set ; }          string  User {  get ;  set ; }          string  View {  get ;  set ; }          string  Name {  get ;  set ; }          //string QData { get; set; }     } // FieldString class inhirated from IFieldTable      public   class   FieldString  :  IFieldTable     {          public   string  Id {  get ;  set ; }          public   DateTime  TimeStamp {  get ;  set ; }          public   string  User {  get ;  set ; }          public   string  View {  get ;  set ; }          public   string  Name {  get ;  set ; }          public   string  Data {  get ;  set ; }     } // FieldInt class inhirated from IFieldTable      public   class   FieldInt  :  IFieldTable     {          public   string  Id {  get ;  set ; }          public  

Basic life cycle of AngularJs

Below is a basic life cycle of AngularJs: Main page start the execution Module loaded Controller loaded Request sent to controller Controller Initiated Function Initiated and Executed Controller back to main page