QuickApp icon indicating copy to clipboard operation
QuickApp copied to clipboard

Not issues more of a help

Open farhadwahaj opened this issue 4 years ago • 7 comments

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

farhadwahaj avatar Feb 06 '21 22:02 farhadwahaj

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

IngoManthey avatar Feb 07 '21 11:02 IngoManthey

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 avatar Feb 07 '21 11:02 farhadwahaj

@farhadwahaj Just learn the basics of asp net :)

Mynken avatar Mar 19 '21 10:03 Mynken

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 avatar Mar 19 '21 10:03 farhadwahaj

@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)

Mynken avatar Mar 19 '21 11:03 Mynken

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 avatar Mar 19 '21 13:03 farhadwahaj

@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.

Mynken avatar Mar 19 '21 14:03 Mynken