Are you gonna publish an app to the Stores, that accesses an SQL database directly, with a hardcoded connection string? ****super triggered****
it's a app only for me!
@AlessandroCaliaro said:
> @Katekko said:
> Yo guys
>
> I hope someone can help me, I'm trying to publish my app using release mode, everything works fine in build. But when I try to do some connection to my database (sql server) it can not make the connection! Would anyone have any idea what it would be like?
>
> ps: I can run in debbug mode normally !!
Maybe some permission problems? Which is the exception?
I think the referrals do not pass when I release compile> @FredyWenger said:
You really should use a WebService to access your SQL server!
I suggest you, to read the postings in this thread carefully
Yes, I'll take a look at how to use the web service instead of direct connections
@Katekko : Can you please post your code to connect Xamarin to SQL Server directly , I need to do it. I have ordered to do so without any web service. In my case user first setup the server configuration himself then try to connect. So this can't harm I think because I don't have to use fix connection string.
I am tired of you guys always saying ,you can't make a direct connection to sql,but when we ask you for a working code ,you dont even produce a code .You only give some comments that does not help anyone.l am now in 3 months just wanting to do a project that captures data and views data using xamarin forms but each time l ask someone .You all say use web services but how ? you don't say .At least you should post the source code that is working ,anyone who has done a simmilar code please post something for us.We need a code that works ,not just these pillow talks.If you have a code that makes a direct connection and works .please give us.We are just tired of the people who only raise suggestion but no code
@muku
In this thread, you can find a lot of useful information's including a link to a video that explain webservice.
You will find a lot of specific examples (including code examples) on the web to web services (out of this forum), if you try to google it...
The web service has nothing to do with Xamarin/your app. The Xamarin app then only will "consume" the web service.
No one will do the work for you and create your application for you.
You have to create it yourself (as all others here...)
But if you have written an similar code on github you can just post the link same as we do,each code we make we always post the link on github so that others can be helped
Unfortunately most of the code I write is proprietary for my customers and cannot be posted on GitHub. To extract the nuts and bolts of an implementation into a workable takes time - which I don't have.
I do my best here to point people in the right direction but I can't write your code for you!
Answers
it's a app only for me!
I think the referrals do not pass when I release compile> @FredyWenger said:
Yes, I'll take a look at how to use the web service instead of direct connections
Ty alot guys, cya
Hi @FredyWenger,
Thank You for your useful information.
@Katekko : Can you please post your code to connect Xamarin to SQL Server directly , I need to do it. I have ordered to do so without any web service. In my case user first setup the server configuration himself then try to connect. So this can't harm I think because I don't have to use fix connection string.
Please guys help me to do this.
I am tired of you guys always saying ,you can't make a direct connection to sql,but when we ask you for a working code ,you dont even produce a code .You only give some comments that does not help anyone.l am now in 3 months just wanting to do a project that captures data and views data using xamarin forms but each time l ask someone .You all say use web services but how ? you don't say .At least you should post the source code that is working ,anyone who has done a simmilar code please post something for us.We need a code that works ,not just these pillow talks.If you have a code that makes a direct connection and works .please give us.We are just tired of the people who only raise suggestion but no code
@muku
In this thread, you can find a lot of useful information's including a link to a video that explain webservice.
You will find a lot of specific examples (including code examples) on the web to web services (out of this forum), if you try to google it...
The web service has nothing to do with Xamarin/your app. The Xamarin app then only will "consume" the web service.
No one will do the work for you and create your application for you.
You have to create it yourself (as all others here...)
But if you have written an similar code on github you can just post the link same as we do,each code we make we always post the link on github so that others can be helped
I do my best here to point people in the right direction but I can't write your code for you!