I am wondering if anyone knows how to connect an ASP.net application to paraccel? I am very new to ASP.net development, just installed visual studio. However I am tasked with creating a web service that connects to paraccel in order for another non asp.net application to get what it needs. I understand the connectionstring needs to be set in the Web.config file, however I cannot find any samples of this for paraccel
I believe Amazon's Redshift product is based on the ParAccel parallel datawarehouse. You need to use Npgsql to connect to a ParAccel datawarehouse.
Related
We've developed a MVC application that uses a SQL database to store data. We chose the approach to have a separate web app in azure (customer.ourdomain.com) per customer, as well as a separate database per customer running on our SQL server. This database is pointed to by the MVC application in the web.config file.
I've also created a website where new customers can register to use / try our product. Now every time somebody registers for our product I want the following to happen:
Create an Azure web app with the name of the company / customer that registers
Create a new database including the tables and relationships that our application needs
Publish the stable release of our application to the web app in azure and configure the application to use the newly created database
I've managed to do the first step using Azure ARM templates and the second step using dacpac and the Azure API, but I don't know how to use TFS (or any other method) to publish a stable release and change the connection strings before publishing the application to the azure app. (I've not even managed to publish anything with C# code).
Is the approach I'm taking in general okay or should I take a different approach? What is the best way to publish a stable release to the web app and most importantly, change the connection string so the published version will connect to the new database?
If you get vsts to package up your stable release and upload it to blob storage, you can reference that web app as part of the ARM template deployment, ie. include the web app code deployment along with the web app service itself.
This page shows how it can be done. I think you can also get the web app and ARM template to pull a release from vsts (I'm pretty confident you can do it via GitHub) using the app service's source control integration/CD settings as well, but cant find any details on this.
I have several clients who are using web application hosted in their local IIS server at different locations. Currently all are using version 1.0.
I published the new version of the application say version 1.1, zipped and host in http server at location X.
My application can check if new version is available or not. Now what can be done so that v1.0 at client side can be replaced with new version i.e. 1.1. I want the v1.0 running at client side, automatically (of course with user permission) downloads the v1.1 from http server using internet, extracts the file and host itself in local IIS server.
Is their any method like ClickOnce for web application? I have build the application using asp.net C#. Any 3rd party application or C# code sample would be useful.
I came across your question, if you want to make web apps that are self updating, you can check a solution here http://haacked.com/archive/2011/01/15/building-a-self-updating-site-using-nuget.aspx/, as for updating database, you can add a bootsrapper class that if you are using nHibernate use SchemaUpdate(config).Execute(true, true); that you call on site/index to ensure that the schema is updating. hope thats help
I have finished developing a Web application using Silverlight 5 (hosted in an ASP.Net project) with Visual Express 2013. I use SQL Server 2012 for my database, and I want to send my application to My Friend in order to test it.
Can I create a DEMO and send him to test it, or should I send him the solution (.SLN) or what?
How can I show him my application without demanding him to compile the project?
Thanks you !
You need to give him access to the server which serves up the web page which hosts the Silverlight application.
Why?
If the app is accessing a database, how is your friend going to be able to have the app access the database to get the proper data?
Hence you need to publish your Silverlight application to a location which 1) has access to the database and 2) allows for your friend to bring up the web page which hosts the Silverlight app.
Otherwise if you give him the solution, he will also need to create a database and you need to give him a backup of the database as well and make sure the access parameters to his database server are the same.
I've got some silly questions, but I'm quite new in mvc and haven't found any appropriate answers,so:
1: In asp .net mvc4 internet application, as you create a new project VS. creates registration by default. If u register a new account, does mvc store this in a database? (I read that it stores, and can be found in appdata, but it's empty for me, and in server explorer there is no connetion, but I can log in and out after registration, it works perfectly.) Do I have to set a new sql server for VS or it handles this by itself? So how does this exactly work?
2: My goal is to modify the registration form to store id,name, fullname, email, registration date as you register. How can i achieve this by "extending" the default registration?
It does use a db. Check the connection string in web.config. VS 2010 uses SQL Express I believe and VS2012 uses localdb. SQL is installed with VS. The db file is usually installed in the app data folder but it does get generated until the first user is created. I suggest you get Microsoft SQL Management Studio if you want to look inside the DB, or use sever explorer from within VS.
This post perfectly answers to both of your questions
Sorry, if this sounds ignorant. Is it possible to SECURELY upload data from a Windows Forms app using an asp.net web service or some other method? If so, what is the general way of doing it?
I have never used web services before.
I have an IIS 6 server with .net 3.5 installed. I need to build this windows forms program, which will hold data in a local sql compact database. When the program has access to the internet, the user needs to be able to MOVE the local data to a database on the web server.
What ways can I go about doing this? Am I on the right track thinking about web services? I have also read a bit about Sync Framework, but I'm not sure if that is all that well suited for this.
Thanks for suggestions.
EDIT
I forgot to ask: Would WCF be a possible useful technology?
Yes. Just secure the web service by SSL.
WCF can be a useful technology too. You might also want to consider SQL Server merge replication.