ASP

From BC$ MobileTV Wiki
(Redirected from ASP.NET)
Jump to: navigation, search

ASP.net: A server-side compiled language for IIS web applications Active Server Pages (commonly abbreviated as ASP) is a Microsoft technology for creating server-side processing of dynamic web pages. ASP provides a server-side scripting environment that you can use to create and run dynamic, interactive Web server applications. With ASP, you can combine HTML pages, script commands, and COM components to create interactive Web pages and powerful Web-based applications that are easy to develop and modify.

By Default, ASP uses VBscript as the server-side scripting language, but some others which can be plugged in and used include JScript (Microsoft's version of an ECMA language, such as Javascript), Perlscript (Perl derivative for ASP) and Pyscript (Python derivative for ASP) are also available.


ASP Platform

ASP has been around as Microsoft's answer to Java's JSP and other popular server-side scripting languages such as Perl, Python and PHP for quite some time (since the mid-to-late 90's). However, it was the release of the .NET platform which provided a large amount of attention and adoption of Microsoft's WebApp development stack through ASP.


.NET Framework

Most significantly, ASP.NET gave ASP the additional power of dynamically adding scripting languages (through @Language directive) and calling compiled functionality (through DLLs) to pages, among other major features. This dynamic interpretation paved the way for the introduction of C# (C-sharp) and

Pages with the .aspx extension use compiled ASP.NET (based on Microsoft's .NET Framework), which makes them faster and more robust than server-side scripting in ASP, which is interpreted at run-time; however, ASP.NET pages may still include some ASP scripting. The introduction of ASP.NET led to use of the term Classic ASP for referring to the original technology.

[1]


LINQ

Language Integrated Native Query (LINQ) is the leading C#/ASP option from Microsoft for data connectivity, import/export, querying, and reporting.

[2] [3] [4] [5] [6] [7] [8] [9] [10]

Linq2DB ORM

[11]

NHibernate

See also: Hibernate

[12]

Blazor

Blazor is touted as Microsoft's next-generation programming language and a potential replacement for JavaScript. It runs within the DOM together with HTML via bind attributes on the desired HTML elements.

The following is an example of a dynamic ToDo list in Blazor:

@page "/todo"

<h3>Todo</h3>

<ul>
    @foreach (var todo in todos)
    {
         <li>@todo.Title</li>
    }
</ul>

<input placeholder="Something todo" @bind="myTodo" />
<button @onclick="AddTodo">Add todo</button>

@code {
   private IList<TodoItem> todos = new List<TodoItem>();
   private string myTodo;

   private void AddTodo()
   {
       if (!string.IsNullOrWhiteSpace(myTodo))
       {
            todos.Add(new TodoItem { Title = myTodo });
            myTodo = string.Empty;
       }
   }
}

[13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39]




Tools


Resources


Tutorials

[40] [41] [42]

[43]


External Links


References

  1. How to Check the .NET Framework version on Windows 10: https://www.howtogeek.com/731913/how-to-check-the-.net-framework-version-on-windows-10/
  2. wikipedia: LINQ
  3. Work with Language-Integrated Query (LINQ): https://docs.microsoft.com/en-us/dotnet/csharp/tutorials/working-with-linq
  4. LINQ - Query expression basics: https://docs.microsoft.com/en-us/dotnet/csharp/linq/query-expression-basics
  5. Introduction to LINQ Queries (C#): https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/introduction-to-linq-queries
  6. Walkthrough - Writing Queries in C# (LINQ): https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/walkthrough-writing-queries-linq
  7. LINQ in C#: https://docs.microsoft.com/en-us/dotnet/csharp/linq/linq-in-csharp
  8. Using LINQ with ASP.NET: https://docs.microsoft.com/en-us/previous-versions/aspnet/bb907622(v=vs.100)
  9. Directly accessing MySQL via C# client: https://www.c-sharpcorner.com/article/how-to-connect-mysql-with-asp-net-core/ (NOTE: requires MySQL .net connector)
  10. Using LINQ with MySQL: https://bobnoordam.nl/csharp/using-linq-with-mysql/
  11. DevArt -- LinqConnect ORM - "LINQ to MySQL" tutorial: https://www.devart.com/dotconnect/mysql/articles/tutorial_linq.html (feature-rich ADO.NET providers with ORM support, optional dual OSS/commercial add-on to further streamline cross-DataSource connectivity, as alternative to Linq2DB)
  12. Linq for NHibernate: https://ayende.com/blog/2219/linq-for-nhibernate
  13. Awesome Blazor - resources list: https://github.com/AdrienTorris/awesome-blazor
  14. Blazor Tutorial - Build your first Blazor app: https://dotnet.microsoft.com/learn/aspnet/blazor-tutorial | SRC
  15. Beginner's Series to Blazor: https://channel9.msdn.com/Series/Beginners-Series-to-Blazor (follows-on after the "Build your first Blazor app" pizza ordering WebApp)
  16. ASP.NET Core Blazor forms and validation: https://docs.microsoft.com/en-us/aspnet/core/blazor/forms-validation
  17. Blazor .vs. JavaScript: https://blog.bitsrc.io/frontend-dev-blazor-vs-javascript-35f27e0fd618
  18. Call JavaScript functions from .NET methods in ASP.NET Core Blazor: https://docs.microsoft.com/en-us/aspnet/core/blazor/call-javascript-from-dotnet?view=aspnetcore-3.1
  19. Call .NET methods from JavaScript functions in ASP.NET Core Blazor: https://docs.microsoft.com/en-us/aspnet/core/blazor/call-dotnet-from-javascript?view=aspnetcore-3.1
  20. Using Blazor to Build a Client-Side Single-Page App with .NET Core: https://exceptionnotfound.net/using-blazor-to-build-a-client-side-single-page-app-with-net-core/ | SRC
  21. Build a Blazor "ToDo list" app: https://docs.microsoft.com/en-us/aspnet/core/tutorials/build-a-blazor-app?view=aspnetcore-3.1
  22. CarChecker - a Blazor sample app: https://github.com/SteveSandersonMS/CarChecker
  23. The Best Samples to Teach Yourself Blazor: https://medium.com/young-coder/the-best-samples-to-teach-yourself-blazor-4d29cec607f5
  24. Blazor by Example - Build a simple markdown editor: https://jonhilton.net/blazor-markdown-editor/
  25. Blazor Template with menu across the top: https://stackoverflow.com/questions/58235005/blazor-template-with-menu-across-the-top
  26. Blazor CRUD with Entity Framework Core – Detailed Tutorial: https://www.codewithmukesh.com/blog/blazor-crud-with-entity-framework-core/
  27. Blazor, HttpClientFactory, and Web API: https://wellsb.com/csharp/aspnet/blazor-httpclientfactory-and-web-api/
  28. Blazor OnAfterRenderAsync Javascript: https://stackoverflow.com/questions/59316079/blazor-onafterrenderasync-javascript
  29. ASP.NET Core - CRUD (LINQ Database app) Using Blazor And Entity Framework Core: https://www.c-sharpcorner.com/article/asp-net-core-crud-using-blazor-and-entity-framework-core/
  30. A simple MVVM implementation in client side Blazor: https://itnext.io/a-simple-mvvm-implementation-in-client-side-blazor-8c875c365435
  31. Blazor WebAssembly - JWT Authentication Example & Tutorial: https://jasonwatmore.com/post/2020/08/13/blazor-webassembly-jwt-authentication-example-tutorial
  32. 10 Top Blazor Tools Just a NuGet Away: https://visualstudiomagazine.com/articles/2019/06/04/blazor-nuget.aspx
  33. BlazorStrap - Bootstrap 4 .x components for Blazor Framework: https://blazorstrap.io
  34. Telerik -- Kendo UI - UI components for Blazor: https://www.telerik.com/blazor-ui | DEMO
  35. Introducing the Ignite UI for Blazor Preview: https://www.infragistics.com/community/blogs/b/infragistics/posts/introducing-the-ignite-ui-for-blazor-preview
  36. Getting Started With Blazor by building a "Calculator" app: https://www.c-sharpcorner.com/article/getting-started-with-blazor/
  37. Building a List With ASP.NET Core: https://dzone.com/articles/building-a-list-with-aspnet-core
  38. Introduction to SignalR: https://docs.microsoft.com/en-us/aspnet/signalr/overview/getting-started/introduction-to-signalr
  39. Using SignalR in your Blazor applications: https://channel9.msdn.com/Shows/On-NET/Using-SignalR-in-your-Blazor-applications
  40. Announcing .NET 6 — The Fastest .NET Yet: https://devblogs.microsoft.com/dotnet/announcing-net-6/
  41. The Unified .NET 6: https://www.codemag.com/Article/2111022/The-Unified-.NET-6
  42. Visual Studio 2022 - productivity improvements: https://www.codemag.com/Article/2111042/Visual-Studio-2022-Productivity
  43. What is Microsoft Dataverse?: https://docs.microsoft.com/en-us/powerapps/maker/data-platform/data-platform-intro (data sources which can be integrated via "Microsoft Office 365" platform)

See Also

C# | JSP | PHP | IE | Visual Basic | ActiveX | Microsoft | Windows | Mac | Linux