2540 1
Missing Startup.cs in .NET 6, how to configure?

Hello, I have started using Visual Studio 2022 and Was trying to create a new ASP.NET Core (.NET 6) project, but when I tried to add new JSON settings in Startup.cs, I wasn't able to found this file? So How can i configure JSON settings or database context details in .NET 6 without startup.cs

...
Type
Question
2509 0
How to connect sql server database in ASP.NET Core MVC
In this article, I have mentioned step by step procedure to connect to sql server database using Entity framework core in ASP.NET Core MVC
Type
Article
2489 0
Send Email in ASP.NET Core (With Attachments)
This article will illustrate how to send an email using ASP.NET Core and Gmail SMTP Server
Type
Article
2474 1
URL Rewriting in asp.net MVC

I need functionality like, if user enters http://localhost:5130 default page should be open like user/index

and if user enters http://localhost:5130/customer, customer/index page should be open

 

how can i achieve this in MVC using route.config?

...
Type
Question
2467 0
DropDownList in ASP.NET Core MVC
In this article, I have mentioned how we can create ASP.NET Core dropdown list using Tag helpers.
Type
Article

2441 0
Best and Cheap Windows VPS Hosting Providers
In this article, I have provided list of best and cheap windows VPS hosting providers which are good for ASP.NET core or MVC or ASP.NET project
Type
Article
2427 1
How to read powershell script file from log parser and save data in sql using c#?

Bascially,LogParser is used to read IIS logs.We upload one log file to log parser, select query and we get results of query like :user agent,ip address(basically hits to particular url).That query is PS(PowerShell Script) file.

Any idea how to read that PS file and save output of that query to db?

...
Type
Question
2408 2
Facebook: get list of pages that a user is admin of using OAuth in ASP.NET MVC

Hi, I have added login with facebook button using OAuth in my MVC project, now I want to get list of all the pages,while user is logging in, of which user is admin, here is the link which shows method to get list of pages that a user is admin of

But I would like to know to get the pages while logging in using ASP.NET MVC C#

Thanks.

...
Type
Question
2392 1
Create drop down list in asp.net comparing time field in sql?

I want to load a dropdown list in my web forms based on certain conditions, first here is my Table_columns(With types)

id--Int

food_type --varchar

First_start_time -- time

First_end_time -- time

second_start_time -- time

second_end_time -- time

 

Now I want to load values in which Current_Time > First_start_time

How to do this, it's basic question but I am not able to do it, so please let me know, thanks

...
Type
Question
2382 1
How to save image/video on server with or without web api in MVC?

I have a website that shows galleries, users can upload their own content from the web (by entering a URL) or by uploading a picture from their computer.

I am storing the URL in the database which works fine for the first case but I need to figure out where to store the actual images if a user uploads pictures from their local computer.

Is there any recommendation here or best practice on where should I store these and how can i store it on server?

help me! thank you very much

...
Type
Question

Page 28 of 31