Skip to main content

ASP.NET Core

What is ASP.NET Core?

 
ASP.NET Core is an open source cross platform framework to build web applications, IoT application and mobile backend applications. These application run on .NET Core or the full .NET framework. These application can be deployed in could or run on premises. It is a cross platform framework hence we can run on Windows, Mac and Linux. You can found the open source in GitHub in the following url https://github.com/aspnet/home

 

Advantages of ASP.NET Core

 
  • You can build Web UI and APIs in the same application
  • You can integrate modern client side frameworks and development workflows
  • It is a cloud ready environment based configuration system
  • It has its own build in dependency injection
  • It has light weight and modular HTTP request pipeline
  • You can host the application in IIS or any other web server of your choice
  • It support side by side application versioning
  • It can be entirely shipped as a NuGet packages
  • There are so many new tooling which simplifies modern web developments
  • You can build and run in any environment (Windows, Mac and Linux)
  • It is an open source and community supported

Comments

Popular posts from this blog

How to post a dynamic form using json data?

// Post dynamic form using json data   function post(uri, data, method) { // when method not provided use default post method method = method || "post" ;     var form = document.createElement( "form" ); form.setAttribute( "method" , method); form.setAttribute( "action" , uri); for ( var property in data) {   if (params.hasOwnProperty(property)) {     var hiddenField = document.createElement( "input" );     hiddenField.setAttribute( "type" , "hidden" );     hiddenField.setAttribute( "name" , property);     hiddenField.setAttribute( "value" , data[property]);      form.appendChild(hiddenField);   } } document.body.appendChild(form); form.submit(); }

Mapping .NET Data Types to MySQL Data Types

Mapping .NET Data Types to MySQL Data Types .NET Data Types MySQL Data Types System.Boolean boolean, bit(1) System.Byte tinyint unsigned System.Byte[] binary, varbinary, blob, longblob System.DateTime datetime System.Decimal decimal System.Double double System.Guid char(36) System.Int16 smallint System.Int32 int System.Int64 bigint System.SByte tinyint System.Single float System.String char, varchar, text, longtext System.TimeSpan time DateTimeOffset type is not supported.

C# - How to get Property Name and Value of a dynamic object?

C# - Dynamic Object Use the following code to get Name and Value of a dynamic object's property. dynamic d = new { Property1= "Value1", Property2= "Value2"}; var properties = d.GetType().GetProperties(); foreach (var property in properties) {     var PropertyName= property.Name; //You get "Property1" as a result     var PropetyValue= d.GetType().GetProperty(property.Name).GetValue(d, null); //You get "Value1" as a result // you can use the PropertyName and Value here  }