TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Samir Bhogayta
637
1.4k
800.4k
How to connect MongoDB using asp.net mvc
Dec 4 2019 1:14 AM
Hello, I was followed all the steps from following article.
https://www.c-sharpcorner.com/article/create-a-free-mongodb-atlas-cluster-and-connect-with-mvc/
But, still I can't able to connect with MongoDB using asp.net mvc.
My code is as follows.
public async Task<IEnumerable<Permit>> GetPermits()
{
try
{
return await db.Permit.Find(_ => true).ToListAsync();
}
catch
{
throw new NotImplementedException();
}
}
Kindly help me out of this.
Reply
Answers (
3
)
purposes of using ENUM and SET data types
The better way to use big data with SQL. Need help, what is