.NET: Basic(1)

.NET: Basic

Query String is a way of passing some extra data to the server with the request, uisng the URL. ?id=101&name=iPhone  if ( context.Request.Query.ContainsKey(“id”) &&        context.Request.Query.ContainsKey(“name”) ) {         string id               = context.Request.Query[“id”];         string name        = context.Request.Query[“name”]; […]

Read more

ASP.NET Core

1] How to publish an ASP.NET Core project? $ dotnet publish -c Release -o /var/www/html $ sudo systemctl restart htmlaspnet.service   2] MVC is a wide-used architectural pattern that separates an application into three district components to manage complexity and promote code reuse. Model presents your data and business logic. It is consisted of classes […]

Read more