ASP.NET Core apps use a Startup class, which is named Startup by convention. The Startup class: Optionally includes a ConfigureServices method to configure the app's services. A service is a reusable component that provides app functionality.
Every Question..What does it mean? Why is this? How it works?
Microsoft .Net (pronounced dot (.) net) may be a package element that runs on the Windows software package.
.Net provides tools and libraries that change developers to form Windows package a lot of quicker and easier.
Microsoft describes it as:".Net is that the Microsoft internet Service strategy to attach data, people,
system and devices through software".I'm Choulla Naresh..!
Friday, May 5, 2023
What is dependency injection in MVC?
The Dependency Injection pattern is a particular implementation of Inversion of Control. Inversion of Control (IoC) means that objects do not create other objects on which they rely to do their work. Instead, they get the objects that they need from an outside source (for example, an xml configuration file).
Dependency Injection (DI) means that this is done without the object intervention, usually by a framework component that passes constructor parameters and set properties.
Thursday, May 4, 2023
what are the feature provided by .net core?
ASP.NET Core MVC provides features to build web APIs and web apps:
1.The Model-View-Controller (MVC) pattern helps make your web APIs and web apps testable.
2.Razor Pages is a page-based programming model that makes building web UI easier and more productive.
3.Razor markup provides a productive syntax for Razor Pages and MVC views.
4.Tag Helpers enable server-side code to participate in creating and rendering HTML elements in Razor files.
5.Built-in support for multiple data formats and content negotiation lets your web APIs reach a broad range of clients, including browsers and mobile devices.
6.Model binding automatically maps data from HTTP requests to action method parameters.
7. Model validation automatically performs client-side and server-side validation.
What is .NET Core used for?
ASP.NET Core is a cross-platform, high-performance, open-source framework for building modern, cloud-enabled, Internet-connected apps. With ASP.NET Core, you can: Build web apps and services, Internet of Things (IoT) apps, and mobile backends.
DCL commands
TCL commands
DML commands
DDL commands
what is SQL ?
Sunday, April 2, 2023
This site can't be reached error
Solution 1:
- open cmd as admin
- cd C:\Program Files (x86)\IIS Express
- IisExpressAdminCmd.exe setupsslUrl -url:https://localhost:portnumber/ -UseSelfSigned