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
Sachin Singh
7
55.8k
81.8k
N-tier, EF, Live database problem.
Jul 26 2020 3:09 PM
A website is hosted and is live, the architecture is :-
1.Entities(class library)
2.DAL(class library (dbcontext is here))
3.APP(MVC)
Now a new requirement came , and i have to add a new table to live database.
Meaning 1.Add entity in first layer
2.Add DbSet in second layer
3.write code in MVC controller, view for functionality.
Add initial migration Run update database cmd.
Now as the first two layers are dlls, so do i need to republish the whole project (mvc which will refresh the dll) or like whenever i need changes in a particular controller or view in MVC layer, i usually publish only that modified controller. So here ,will only publishing the particular controller change the other two layers dll in server?? And will migration work??
Reply
Answers (
3
)
security issue to Send mail using .Net (System.net.mail)
unable to get Whats app regisrtation code using WART