New announcement for Asp.net Core RC2 by proficient development experts

5

Click here to load reader

Transcript of New announcement for Asp.net Core RC2 by proficient development experts

Page 1: New announcement for Asp.net Core RC2 by proficient development experts

New announcement for

Asp.net Core RC2 by

proficient development

experts

Development Centre

"Royal Square"

1st Floor, Off No. 110,

Nr. Shilp Tower, Tagore Road,

Rajkot - 360 001, Gujarat – India

MailUs: [email protected]

ASP.NET DEVELOPMENT

Page 2: New announcement for Asp.net Core RC2 by proficient development experts

New announcement for Asp.net Core RC2 by proficient development experts

Great news updates for asp.net development professionals- they can use and install latest Asp.net Core RC2 from dot.net website. This release features numerous updates that will help developers in enhancing compatibility with other .net frameworks along with enhanced runtime.

Things RC2 includes

New .net core runtime and libraries are included to RC2 release.

These libraries serve every purpose that ends up in your ‘bin’ folder

when you deploy an application. The release is about the

rebranding of asp.net 5 to asp.net Core. With this renaming,

officials made it clear that the latest framework is created from the

ground up and not a revision of available asp.net frameworks. The

tooling included in the update has been declared by officials as a

preview 1 release. With this announcement, developers having no

issue with using the runtime can move forward with their projects.

NEXSOFTSYS

ww.nexsoftsys.com

Page 3: New announcement for Asp.net Core RC2 by proficient development experts

New announcement for Asp.net Core RC2 by

proficient development experts

.Net Command Line Interface (.Net CLI)

.Net CLI is the major change happened between RC1 and RC2.

With the help of .Net CLI, developers can replace the dnvm, dnx,

and dnu utilities with a single tool that manages all the

responsibilities of these tools.

Changes happen in asp.net Core RC2

Though, there are no major changes made to RC2 when compare

to RC1, but developers will find the changes as code breaking. Let’s

discuss in detail now-

The first and foremost change is that there is no more DNX.

.NET CLI has replaced the DNX along with DNVM and DNU.

Dotnet run and dnx run commands are different. Developers

were using dnx run command for in-memory compilation

purposes, whereas dotnet run command is used like a

traditional method. Developers can leverage the RC2

compilation feature and just compile what is changed.

Asp.net Core as a console app for developers- when they

create a new asp.net core web app targeting RC2, they will

discover program.cs file with following code-

NEXSOFTSYS

ww.nexsoftsys.com

Page 4: New announcement for Asp.net Core RC2 by proficient development experts

New announcement for Asp.net Core RC2 by proficient development experts

The middleware app.UseIISPlatformHandler() is available in

RC1 only. Developers will not find it in RC2. It is replaced with

UseIISIntegration().

All namespaces of Microsoft.aspNet.* are renamed to

Microsoft.AspNetCore.*

Developers can now avail separate web app templates for .net

core and .net framework while creating new projects in VS

2015.

NEXSOFTSYS ww.nexsoftsys.com

Page 5: New announcement for Asp.net Core RC2 by proficient development experts

New announcement for Asp.net Core RC2 by proficient development experts

Can one migrate from RC1 to RC2?

Due to many changes and updates made to RC2, developers need

to make their apps RC2-ready. There are tutorials available online

that will make them learn step-by-step migrating from RC1 to RC2.

Can one use RC2 with Azure web apps?

Yes, Azure web apps completely support RC2 and developers can

deploy asp.net core RC2 apps in Azure. For more info, you can

search for Azure updates online.

Hope you have precisely understood the major updates made in

RC2. You can feedback for this story by commenting below.

Asp.net development experts will be glad to know more things

that are not included in this post. You can tell us what you know

and share it with our readers throughout the world.

NEXSOFTSYS

ww.nexsoftsys.com