Step by step migration of ASP.NET Core 2.2 to 3.1

In order to upgrade/migrate asp.net core version to 3.1 following steps to be perform.
Download and install Visual Studio 2019 version 16.4 or higher.Download and install .NET Core 3.1  https://dotnet.microsoft.com/download/dotnet-core/3.1Upgrade the projects of solution to .NET Core 3.1 , because ASP.NET Core 3.1 requires it.Update existing Nuget packages to a version compatible with ASP.NET Core 3.1 in each projectUse IHost interface from a IHostBuilder instead of building and running a IWebHost from a IWebHostBuilder in Program.cs public static IHostBuilder CreateWebHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseKestrel() .UseSerilog() .UseStartup<Startup>(); }) Change AddMvc method has been replaced by AddControllers in Startup.cs of each projects.In Startup.cs,UseMvc method to be replaced by…

Source Code Beautifier And Format Source Code For Blogger and Websites


Source Code Beautifier And Formatter For Blogger and Websites, Format Source Code , Format Source code for blog or blogging & website, Online line source code formatter tool, blogger code format tool, Format source code for blog-spot,Insert formatted source code


How to format source code for blogger & website : 

You can format your source code for blogger & website in easy three steps..

1) Paste your source code into "Paste Here Your Source Code" Text-area.

2) Choose appropriate options from "formatting options" and click Format Source Code button..

3) See preview of formatted source code if it's fine then copy from "Copy Formatted Source Code" text-area otherwise repeat step 2

  •  This source code formatter allow you to format code like JavaScript, HTML, CSS, C#, PHP, ASP.net, VB.Net, Visual Basic, DOT.net, ASP & many other languages.
  •  It does not add unnecessary tags into formatted code, It use only two tag HTML tags <pre> & <code> only once with formatted source code.
  •  This is pure Javascript Application so don't worry about your code.
  •  In the first release we have build it mainly for blogger, wordpress and blog.
  •  This is compatible with table less layout so it work fine with div based website.
  •  In the next release we'll make it colorful code formatter tool for your blogger & website.
  •  Alternative backgrounds used in this tool.




Paste Here Your Source Code
Source Code Formatting Options
1) Convert Tab into Space :
2) Need Line Code Numbering :
3) Remove blank lines :
4) Embeded styles / Stylesheet :
5) Code Block Width :
6) Code Block Height :
7) Alternative Background :
Copy Formatted Source Code
 
Preview Of Formatted Code
1:  [HttpGet]  
2:  public ViewResult test(int id)  
3:  {  
4:    Client objClient = Clients[id];  
5:    return View("DisplayClient",objClient);  
6:  }   

Comments

  1. Bhai ye source code mere website mein bhe add karna hai kaise karo?

    ReplyDelete

Post a Comment

Popular posts from this blog

Restore the lost focus of Auto post back controls in asp.net update Panel control

Add Comma automatically while entering amounts in textbox using Javascript

Devexpress Datebox date formatting in angular 6 with example