Application Server v Database Server - database

I am currently working on designing a project to be developed in VB.NET using Visual Studio 2010.
The project will be a database access application used to manage records of staff training attendance. Multiple users will be accessing the application at the same time and it needs to work over the internet.
My question is should I have the database server directly connected to the internet for this or should I create an application server for the project and host it on the local network and channel all database queries through it.
There will be the need for some workflow and data routing as well as background job workers but im not sure if I do this as a complete application server and the clients access the data through the application server or if they should access the data directly on the database server and simply write a server program which only handles the workflow routing and background job workers.
Any advice on this would be appreciated.

Related

Null Reference Duende Identity Server on Web Assembly publish to Azure

I have a very simple Web Assembly application that is simply testing out publishing to Azure with Duende Identity Server with a SQL Server operational data store. The "functionality" is limited to displaying data from a single table.
This is running correctly in a development environment when connected to a local SQL Server for both the operational store and the functional data base.
I have deployed the database to Asure, and the application also functions correctly when I switch the connection string from the local database to the Azure SQL.
However, when I publish my test application to Azure Application Services, I get a 500 error and the message:
This page isn’t working right now
I have looked at application Insights and see several null reference exceptions:
Microsoft.AspNetCore.ApiAuthorization.IdentityServer.IdentityServerJwtBearerOptionsConfiguration+d__5.MoveNext
and three exceptions similar on:
Duende.IdentityServer.Hosting.DynamicProviders.DynamicSchemeAuthenticationMiddleware+d__3.MoveNext

Best way to Sync data from SQL Server to SQLite in WPF app

I am working on a project where the client is occasionally connected. The client app is being developed in WPF and uses a SQLite database. My plan is to create a central SQL Server database and when the clients connect to a network they can send the data to SQL server.
I have looked at several of the available packages such as Zumero and sql-lite sync but I am not sure if either of them is the right tool for the job.
Just to summarize, my requirements are:
Sync client must work well from within a 64 bit WPF app
Client will need to present a sync status dialog. Perhaps even a conflict resolution screen.
Centralized database will be SQL Server 2012 or greater
Sync framework should provide ability to update schema without minimal effort.
Does anyone have a recommendation of how I should proceed? Your advice is greatly appreciated.

Hosted VB.Net Application with SQL Server Database & Filesharing?

A company I work for has an application written in VB.net with a SQL Server database storing all information. Works fine no complaints, but we also want to upload/download files within the application, and have the files + SQL Server database on a remote server i.e. working over the internet.
We could just use a VPN but that's not the best method. What would you suggest we use to communicate securely between the application and the remote server for both the database and filesharing?
I was thinking of doing everything over HTTPS, but we would need some kind of agent on the other end to receive requests.
Sorry if this is a noob question, I have no experience with VB.net myself, I usually use PHP + C!
Thanks
Use a VPN. It implies just deployment and configuration.
'Going over HTTPS' means you rewrite your application, as the current VB app is expecting T-SQL and SMB endpoints to discuss with.

How To sync online database (of web application) and offline database (of Desktop Application)?

I have 2 application
1st Desktop Application – Which has database on local pc
2nd Web Application – Which has database on server
If internet is unavailable then i m storing data on desktop application and when internet is available data should be store on the server and should also update the data which was stored when internet connection is unavailable
Can you please tell me how above can be achieved
Desktop Application is C# Win form
Web Application is Asp.ne / C# Web application
Thanks in Advance
You don't say what your database technology is, but Microsoft makes the Sync Framework to solve problems like this.

SQL Server 2008 webservice, deprecated?

I am freelancing to a game server company and this game server uses a dedicated server with SQL Server 2008 on it, the game client connect to the game server on a random port (not a problem) and the SQL Server is closed down on the dedicated server, so it can't be accessed from a external source.
I am working on an idea to sell to my manager to create a web service, so I could make an online registration form and control panel to people to manage their goods online (without the game).
Well the question is: what's the best way to make a web service (the port 80 is open and with iis7/windows server 2008) to work on SQL Server 2008 Express, providing XML with some info to my Control Panel, and to make the online form to send a request to create new players on SQL Server too and answer with a XML confirming it?
I know I could do on PHP (since this IIS7 has php installed on it), but that would be a hell of work, and if there is no other way I will be doing it manually on php.
I would like to know if there is some way to work with something like NuSoap to work with SQL Server or any other way that is not the NATIVE SQL Server, (that I just read on microsoft website that is deprecated). And how to do it if possible
Thanks in advance
Create an OData service using WCF over an EF model of your game database. Read here: Creating an OData API for StackOverflow including XML and JSON in 30 minutes

Resources