WPF Connect To A Hosted DB?
Apr 2, 2010
I am trying to build a CRM database for my office, but would like to have the ability for users to use it from home as well, and possible an IPhone app to check contact information. I'd like to use WPF, so I could have an application at the office, but also be able to log in at home to the same database, and have multiple users.
Is it possible to have WPF connect to a hosted DB? And possibly have a web form interface, for access through a browser on outside of intranet machines? Or do I need to just go the route of creating a site, and use asp.net and everyone access that through the browser?
View 2 Replies
Similar Messages:
May 27, 2013
i have database that is stored on local.user should also be able to upload the database to online server . i am able to save it on local .But it is not saving on server.It shows request time out. Is it due to server not allowing external access.
View 1 Replies
Feb 2, 2011
I have an ASP.Net site using Forms authentication. One of the aspx pages loads a WinForms user control hosted in IE. That control must connect with a WCF service located in the same ASP.Net web site.How can I make the WCF service secure? Currently I have set the WCF service to use AspNetCompatibilityRequirements mode but the user control hosted in IE can't connect to the WCF service as it isn't logged in.
View 1 Replies
Apr 23, 2010
i want to conncet to rss orignal website if connect is successfully write the rss to xml file and read from orignal website ,else connect failed read xml file (last information in rss original website) and show it how can do it .
View 1 Replies
Jan 6, 2010
how to add and connect iis5.1 and how to add web config..
View 2 Replies
Aug 31, 2010
I am trying to debug a webservice that is hosted in IIS. When I open it through Visual Studio as a website, put a breakpoint and run it, it is executing as expected but none of the breakpoints are being hit. When I remove the virtual directory from IIS, I am able to hit the break points. One of the suggested solutions was to attach aspnet_wp process during Debug. But the aspnet_wp is not running on the system (I have checked the options 'Show processes from all users' and 'Show processes from all sessions').
View 3 Replies
Jan 10, 2011
I have hosted a WCF service on IIS. The configuration file is as follows
[code]....
If I host the service on ASP .NET Dev server, it work well but if I host on IIS above mentioned error occurs.
View 6 Replies
Jul 31, 2010
Im developing a new web application where i need to insert data into the tables(Main table ,Child table1,Child table2) taking Main table id im inserting the child tables....the problem where i got structed is when im inserting data from tha application to databse they are inserting properly but when im inserting through hosted application(which is hosted in IIs) im getting error i.e only main table is getting inserted....but the child tables are inserted..
View 3 Replies
Jan 26, 2010
I just followed this example to bootstrap WCF with StructureMap. At the same time I've been using StructureMap in my ASP.NET application (IIS6), which is initialized in Global.asax.Application_Start().The two configurations have different requirements. Unfortunately, StructureMap is configured statically, and contrary to my expectations it's shared between the web app and WCF. As a result, the last "Initialize()" called wins!
Is it possible to give each one its own configuration? Or is the only solution to fold them together?
View 1 Replies
Jun 9, 2010
Can I use the <%: tag on an application that will be hosted on IIS6? What about on an application targeted for .NET 3.5?
View 2 Replies
May 19, 2010
Is there a way to use the ASP.NET Configuration to configure a site once it is hosted? Or can I manually enter data into the tables it creates? Anybody have any useful links on this?
View 3 Replies
Jul 8, 2010
I have two projects: A web application project, that has a webpage that hosts a Silverlight application, as well as a web service A Silverlight application project, the one hosted in the above web application
If I debug the Silverlight application, it wants to run this with a generated web page, which will of course not start my web application, and web service calls fails due to some cross-site security model. So even if I have the web application running, the Silverlight application won't use it.
If I debug the Web application (that is, set it as a start project and hit Debug), then the Silverlight application is apparently correctly hosted, but I can't debug it. Any breakpoints in it shows up as those hollow circles.
So what am I doing wrong? How should I configure my projects so that I can start the web application, host my Silverlight application, and debug it?
I'm betting it is one of those "dough" moments when someone tells me, but I can't figure it out.
This is Visual Studio 2008, .NET 3.5 and Silverlight 3.
View 1 Replies
Oct 3, 2010
I get this error when trying to access a self hosted wcf service...
[Code]....
Can someone explain what I need to do to get this to work, I do not have any cross domain policy file. And don't know how that is supposed to look like.
View 1 Replies
Jul 28, 2010
I'm having trouble injecting services dependencies into my WCF service using Autofac 1.4.5. I've read and followed the Autofac wiki page on WcfIntegration but my debugging shows me that my WCF service is created by the System.ServiceModel.Dispatcher.InstanceBehavior.GetInstance() method and not by the AutofacWebServiceHostFactory. What am I doing wrong?
I've set up my ajax.svc file to look like the one in the example for use with WebHttpBinding:
<%@ ServiceHost Language="C#" Debug="true"
Service="Generic.Frontend.Web.Ajax, Generic.Frontend.Web"
Factory="Autofac.Integration.Wcf.AutofacWebServiceHostFactory,
Autofac.Integration.Wcf" %>
My WCF service class Ajax is defined like this:
namespace Generic.Frontend.Web
{
[ServiceContract]
[AspNetCompatibilityRequirements(
RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
public class Ajax
{
public MapWebService MapWebService { get; set;}.....
The service already works fine but I can't get the Autofac bits (read: creation/injection) to work.
Removing the default constructor unfortunately leads to the following exception:
System.InvalidOperationException: The service type provided could not be loaded as a service because it does not have a default (parameter-less) constructor. To fix the problem, add a default constructor to the type, or pass an instance of the type to the host.
View 3 Replies
Dec 28, 2010
I have an ASP.NET web-site and a WCF service which is called from ASP. The problem is, that during the first client request the site loads aufully slow, cause some time-consuming static objects are being created inside the WCF service. Is it possible to call any service method (by doing this the wcf object will be created), when the site gets loaded in IIS? (I know there is a solution for this problem in ASP 4 and IIS 7.5, but i'd like to know what's about IIS6-7). It is something like "user emulation") Maybe i can add some event handlers in global.asax?
View 1 Replies
Oct 1, 2010
I have a website that my company hosted using hubspot.. now the guy who made it is gone..
Currently all the code is in the front end which i think was made by using the CMS tool of hubspot.
What i need to do is add another page to this website which has my code and also has a backend code in it.
how do i proceed.. i am currently working with asp.net and C#...
which language i should chose to do the backend coding.. the code i plan to write is not that complex.. i just need to get a value for the user using a textbox, multiply with a number and display/email it back.
View 1 Replies
Oct 16, 2010
I need advice on how to secure my WCF web service hosted in IIS. I am new to WCF and would appreciate any sample code, articles to help me restrict access to my WCF service.
I am in the process of testing and deploying a WCF service that will be available on the internet. I need to secure the web service so that only authorized clients can use the service. I need to be able to detect who the client is making the call to the service. The group I am building this service for wants to use Certificate authentication or IP address to Identify the themselves to call my web service. They do not want to use user name and password.
I have found several articles and code snippets for getting the IP address of the client and Certificate authentication. The problem I found using trying to get the IP address of the client is that since my web service his hosted behind a F5 or some type of reverse proxy I cannot get the true IP of the client. The IP that the web services get is the IP of the F5 or the reverse proxy.
For Certificate Authentication I followed the directions from the 9 simple steps to enable X.509 certificates on WCF located here
http://www.codeproject.com/KB/WCF/9StepsWCF.aspx?msg=3181718. I had a few problems using this setup for my web service. 1) To me it seemed like as long as the user presented a valid Certificate they would be able to call my web service.
2) Does Certificate Authentication work when the security mode is set to Transport? In my production environment only HTTPS traffic is allowed through. I setup a Certificate authention on my service following the steps outlined in the article. I used the SSL certificate assigned to my server for the web services. For the client outside the network the service is hosted on, I used one of the certificates I generated when i tested the code locally. I changed the authentication mode of the certificate to chain trust for both the client and the server. I was able to call the service and recieve a message. I thought that since my certificate was self generated using the makecert command that the web services would not authenticate the client for the service.
how I can secure my services to only allow a few approved clients to call call the service.
View 17 Replies
Jun 27, 2010
If I declare a static field in a type instantiated within an ASP.NET application, hosted within IIS, is the same variable (i.e. same memory location) used by all of the worker threads used by IIS, opening up concurrency issues?
View 1 Replies
Apr 9, 2010
I have hosted my website , but my vendor's server is lying in canada.But i have used all system.Datetime.Now() for date operations, whereas my clients are from india and it shows me 12 hours difference. How can i map this time zone? I don't want to store the client's machine time but only server end time.
View 12 Replies
Oct 25, 2010
I want to create an asp.net based website. When I create the sit eon my local machine I am uploading pdf files to my file system then accessing the files to view in my website. When I make the site go live how do I translatye this? Can I have files saved somehow with my interenet host? How would I access the files though the internet host on my application?
View 2 Replies
Dec 14, 2010
I want to get ip address of client machine Like I opened website on my machine which is hosted on any server So i need IP address of my machine not hosted server IP.
View 2 Replies
Sep 2, 2010
I am currently creating a .NET based (website/system) solution for small IT companies and I am offering it in a self-hosted package, which means my clients are going to mainly install it on their own servers. How do I make sure my system is not being run except on one server per client and no body is illegally-copying it to other servers/machines?
View 2 Replies
Mar 19, 2011
I am trying to filestream to my hosting Companies sever.I have tried the below expecting it would not work. How can I find the correct path.Could not find a part of the path 'C:ERAPDFERA202.60.64.136.1.pdf'.
Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:ERAPDFERA202.60.64.136.1.pdf'.
Source Error:
[Code]....
View 2 Replies
Oct 16, 2010
Can I use the membership provider api on a hosted service? I can create mssql databases but have no control over iis. Will I be able to use the membership admin webpage on the hosted service?
Am I correct in stating that the api uses ASPNETDB.MDF in the app_data folder as it's database?
View 2 Replies
Nov 25, 2010
What are the best practices for making a hosted cms? I'm trying to make one with url rewritting.. Currently I can access the different sites with a foldername after the domainname, but I would like to hook up another domainname "subsite.com" to mainsite.com/subsiteI have tried talking to my webhost, but they couldn't help me with it, when the subfolders dont actually exist (the url are rewritten to the sitecore)
View 2 Replies