How to convert asp.net web application to exe backend is sql.If its possible to convert the application to exe how the sql connection will be establish?

How to convert asp.net web application to .exe backend is sql.If its possible to convert the application to exe how the sql connection will be establish?
shyam sundarsys adminAsked:
Who is Participating?
 
Imran Javed ZiaConsultant Software Engineer - .NET ArchitectCommented:
Hi,

Practically it seems theoretical, may be you have to create a new compiler for this purpose.

You may find following helpful:
http://www.codeproject.com/Articles/9307/Converting-WinForms-Web-Forms-using-CodeDom


To access sql server from your remote/client machine, you need to make sql server accessible publically which is not a recommended way.
https://technet.microsoft.com/en-us/library/ms175483(v=sql.105).aspx


It will be recommended that you may deploy some services like WCF and then use them instead of interaction with SQL Server over internet.

Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.