Not issues more of a help
Hi! I am using QuickApp to learn and i could not find any tutorials on how to get the dbcontext part working, I have connected to SQLServer but I need to create a controller and then get the data from my server. I see that DAL project has a DB context file, do I use that or should i create a new DBcontext inside Quickapp project how should approach this problem. My pragramming skills are limited so sorry for asking. I simple how to would be gr8 help. maybe QuickApp for Dummies like me. All help is deeply appreciated thanx in advance.
regards Farre
Hi, you just have to adjust the connection string in appsettings.json. For example:
"ConnectionStrings": {
"DefaultConnection": "data source=ServerName;database=DatabaseName;user id=UserName;password=Password;MultipleActiveResultSets=true"
},
Regards Ingo
Yes i have done that i need to make crud how to send and recieve data from controller
Den sön 7 feb. 2021 12:29Ingo Manthey [email protected] skrev:
Hi, you just have to adjust the connection string in appsettings.json. For example:
"ConnectionStrings": { "DefaultConnection": "data source=ServerName;database=DatabaseName;user id=UserName;password=Password;MultipleActiveResultSets=true" },
Regards Ingo
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/emonney/QuickApp/issues/173#issuecomment-774658173, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZJG3S7H6MGPPOSJI2WNMDS5Z2SPANCNFSM4XGYCUIA .
@farhadwahaj Just learn the basics of asp net :)
Thats what i am doing, i need just one example with QuickApp.
Den fre 19 mars 2021 11:41Vladyslav Hrehul @.***> skrev:
@farhadwahaj https://github.com/farhadwahaj Just learn the basics of asp net :)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/emonney/QuickApp/issues/173#issuecomment-802730125, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZJG3WVQ54RDS4DJOTX5ATTEMS6FANCNFSM4XGYCUIA .
@farhadwahaj example of how to work with controllers and send/receive data is not dependent on a project - it is general approach. Just find some guide who to do this(or you can find how to work with unitOfWork)
I did follow some examples but did not work for me. Thats why i posted on Quickapp. Have you used Quickapp?
Den fre 19 mars 2021 12:29Vladyslav Hrehul @.***> skrev:
@farhadwahaj https://github.com/farhadwahaj example of how to work with controllers and send/receive data is not dependent on a project - it is general approach. Just find some guide who to do this(or you can find how to work with unitOfWork)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/emonney/QuickApp/issues/173#issuecomment-802766056, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZJG3XXKJXPZEX5N5LKJQTTEMYSXANCNFSM4XGYCUIA .
@farhadwahaj All works Ok, without problems. If you don`t know c# asp net mvc - then it is not an issues of QuickApp. Please learn basics and delete this issue.