Saturday, July 30, 2016

Announcing ASP.NET Core RC2

Edit:  ASP.NET Core RC2 is now available for use with Azure Web Applications

We are very pleased to announce the availability of ASP.NET Core RC2.  This release succeeds the ASP.NET 5 RC1 release and features a number of updates to enhance compatibility with other .NET frameworks and an improved runtime.  You can install the RC2 from  dot.net.

What happened to ASP.NET 5?
https://school.codequs.com/p/rkEqUN_u

This release features the rebranding of ASP.NET 5 to ASP.NET Core.  This renaming was made in order to clarify that this is a new framework built from the ground up and not a revision of the existing ASP.NET frameworks.  More details can be found on this blog.

Introducing the .NET CLI

A key change that occurred between RC1 and RC2 is the introduction of the .NET command-line interface.  This tool replaces the dnvm, dnx, and dnu utilities with a single tool that handles the responsibilities of these tools.  Get started by executing the command `dotnet` at a command-prompt:

https://school.codequs.com/p/rkEqUN_u

You can learn more about the .NET CLI on the .NET team blog and their coverage of this update.

ASP.NET Core is a console app

In RC1 an ASP.NET application was a class library that contained a Startup.cs class. When the DNX toolchain run your application ASP.NET hosting libraries would find and execute the Startup.cs, booting your web application. Whilst the spirit of this way of running an ASP.NET Core application still exists in RC2, it is somewhat different.

As of RC2 an ASP.NET Core application is a .NET Core Console application that calls into ASP.NET specific libraries. What this means for ASP.NET Core apps is that the code that used to live in the ASP.NET Hosting libraries and automatically run your startup.cs now lives inside a Program.cs. This alignment means that a single .NET toolchain can be used for both .NET Core Console applications and ASP.NET Core applications. It also means that customers have more obvious control over the code that hosts and runs their ASP.NET Core app:

https://school.codequs.com/p/rkEqUN_u

In this code snippet, from the Main method of an ASP.NET Core RC2 app, is responsible for configuring and running the app. If, for example, you want your application to listen on a particular port or IP address then you can use the WebHostBuilder to do it.

This migration from a class library that is designed to be run on the DNX to a console application with a Program.cs and a Main method that can be run by a new .NET toolchain is one of the most significant changes that RC2 brings to ASP.NET Core.

IIS Support Baked In

IIS is a tremendous web server and we continue to provide first-class support for it.  Use the new ASP.NET Core Module in your web.config (it’s added in the new project templates) to configure IIS to launch and host your application.

  1. <configuration>
  2. <system.webServer>

  3.   <handlers>
  4.     <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
  5.   </handlers>

  6.   <aspNetCore processPath="%LAUNCHER_PATH%"
  7.               arguments="%LAUNCHER_ARGS%"
  8.               stdoutLogEnabled="false"
  9.               stdoutLogFile=".\logs\stdout"
  10.               forwardWindowsAuthToken="false"/>
  11. </system.webServer>
  12. </configuration>

How do I migrate from RC1 to RC2?
With these changes to the underlying framework and the branding changes, there are a number of updates that you will need to make to your applications to make them RC2-ready.  We have written the following guides to help you update:
  • Migrating from DNX to .NET Core
  • Migrating from ASP.NET 5 RC1 to ASP.NET Core 1.0 RC2
  • Migrating your Entity Framework Code from RC1 to RC2
Can I use RC2 with Azure Web Applications?

Yes, Azure Web Applications have full support for deploying ASP.NET Core RC2 apps.  More details are available on the Azure blog.
Source: microsoft.

For more information , please support and follow us.
Suggest for you:

REST WCF Service in ASP.NET

Visual Basic.Net Tutorials for Beginners


Friday, July 29, 2016

Web Development 101: What is Web Development?

https://school.codequs.com
Take it now

If you’re looking to build a website—whether you’re considering doing it yourself or hiring a web developer to do it for you—you’ve likely heard the term ‘web development’ come up very frequently. Familiarity with the concept is fine, but if you’re serious about learning how to develop a website, you should have a solid understanding of the term. So for our first post in the Web Development 101 series, we’ll start at the beginning—what is web development, anyway?

What is Web Development?

Web development is the process of developing websites or webpages hosted on the Internet or intranet. Think about your favorite website; whether it’s an e-commerce store, blog, social network, online video streaming service, or any other type of Internet application, it all had to be built by a web developer.

But what does that look like? The web development process can be divided into three main components: server-side coding, client-side coding and database technology.

Client-Side Coding

When you are viewing or using a website, you are known as a ‘user’ or a ‘client.’ So web applications or computer programs executed by a user’s web browser are referred to as client-side scripts. That means the program requests any files it needs to run from the web server, and then runs within the client’s web browser.

This allows a webpage to have unique and alternating content depending on a user’s input or other variables. Ajax, Flash, JavaScript, jQuery, Microsoft Silverlight, HTML5, and CSS3 are some examples of popular languages, plugins and libraries used in client-side scripting.

Server-Side Coding

In contrast to client-side scripts, server-side scripts are executed on the web server whenever a user requests a document or service. The server then produces the document, usually in the form of HTML, which can be read by the client’s browser.

The document sent to the browser may often contain client-side scripts. ASP.NET, PHP, Java, ColdFusion, Perl, Python, and Ruby are examples of languages used for server-side coding.

Database Technology

For any website to function on the Internet, it must be hosted within a database on a webserver. The database contains all the files required for a website and its applications to function. Websites typically use some form of a relational database management system (RDBMS); the leading RDBMS options are Oracle, Microsoft SQL Server, Apache, and IBM. Open-source RDBMS are also very popular, led by MySQL, PostgreSQL, and MariaDB.

And that’s it! You now have a solid understanding of the basics of web development. Next up in the Web Development 101 series, we’ll answer the logical follow-up question: what is a web developer?

Any web development topics you’d like to learn about? Let us know in the comments section below, and we’ll make sure to address them!
written by: Yoshitaka Shiotsu

If you feel useful for you and for everyone, please share it!
Suggest for you:

The Complete Web Developer Course - Build 14 Websites

Learn Responsive Web Development from Scratch

Create Complete Web Apps without Coding

Node.js Tutorials: The Web Developer Bootcamp

The Complete PHP with MySQL Developer Course (New)