Friday, July 15, 2016

Session : ASP.NET Core 1.0 : What’s New with Web API at Sri Lanka .NET Forum

Yesterday delivered a session at Sri Lanka .NET Forum monthly meetup. The session was titled as "ASP.NET Core 1.0 : What’s New with Web API". It was a house full session with attendees over 70.

Some of the attendees were new to ASP.NET Core and had to give them a brief on .NET Core and what ASP.NET Core really is. I didn’t have any slides, the total one hour session was filled with demos and of course there were a lot of questions during the session and after. As a summary following is what I have discussed and demoed.
  • ASP.NET Core Overview
  • ASP.NET Full Framework vs ASP.NET Core
  • ASP.NET Core Startup Class
  • Routing (Attribute and Centralized)
  • Formatting
  • Swagger
You can find the sample code used in the demo in GitHub.
   AspNetCoreWebApiOverview

For more information,
   Meetup Event

Happy Coding.

Regards,
Jaliya

2 comments:

  1. Hi Jaliya,
    I saw there's no web.config file in new asp.net core.So.. how can i connect the database to the application ? Where i put the connection string ?

    ReplyDelete
    Replies
    1. Hi,

      You can have a web.config or app.config file in the project and refer that through the code. Please have a look at below article.

      https://docs.asp.net/en/latest/fundamentals/configuration.html

      Happy Coding.
      Jaliya

      Delete