Category: .NET

Adding Swagger in Asp.net core

We can add swagger using below steps :       Add ‘Swashbuckle.AspNetCore’ in your .net core api project      Add  AddSwaggerGen method on services in ConfigureServices method (startup class) as below [crayon-5c11e8a4a5921450903515/]     Add app.UseSwagger() in Configure method on startup class.     Add app.UseSwaggerUI() method (startup class)as below [crayon-5c11e8a4a5934908431846/]

INTERVIEW PREPARATION & GROUP DISCUSSION

Hello… Plz like n subscribe my videos on Interview questions https://youtu.be/8wRcIxmETZE Body Language https://youtu.be/Wa_ObDmwKlw Group Discussion https://youtu.be/KbYGoZGE22Q Presentation Skill https://youtu.be/Q7DcE8BiRN8 Table Etiquette https://youtu.be/MW8tZuitoPk Telephone Etiquette https://youtu.be/p1K5bcQXmuM Social Etiquette- https://youtu.be/HrFVtiXHM4s Professional Grooming- https://youtu.be/tZ-hleqcGaU Resume Writing- https://youtu.be/eD5sb91cr7E Part 1 GD topics with key points- https://youtu.be/p5I8q66_VAY Tell me about yourself – https://youtu.be/zJKnsWaH4EQ Part 2 GD topics with key

MVC Interview Questions 1

What is use of ” routes.IgnoreRoute(“{resource}.axd/{*pathInfo}”); in route config? It is used to restrict access to web resources like WebResource.axd, ScriptResource.axd from request. What is use of TempData? TempData is used to pass data to current request and its subsequent request.It data is lost once it it read, we can use Keep() and Peek() method to