It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have a WCF service that hosted in windows services.
I'm trying to call the service from the code, when i'm in visual studio everything works fine, but if i'm closing visual studio and run the application from bin/debug/MyApp.exe i'm getting an exception )it can't find the service).
what should I do in order to call window service?
Thank you all...
Fix your programming error.
Simple, isn't it?
THat is about the only answer that is suitable for your question - you totally fail to give even a baseline Explanation.
I would look into
Errors that happen in in the Service. Maybe the WCF Service is NOT hosted when starting outside visual Studio?
Reading skills - targttted epecially at the exception you get, which seriously also includes a stack trace.
Getting some nice Story telling skills. We all like you to tell nice stories, for example how the servie is configured, the relevant lines of code where you actually set it up.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
what c# project must i choose in order to create an instant messaging application in visual studio.
pls help.
Thanks. :)
You have to plan a lot of different things during application design process. The main project anyway, of course, should be a windows form application or a WPF... then, eventually some libraries.
This question is far too common and will be closed soon.
But to give you some suggestions for directions you can go next:
Design you overall architecture first
Are there technical restrictions for the UI?
You have basically following options: Console App, WPF, WinForms, Silverlight, ASP
Since you said in a comment that the app should be a web app, maybe you want create an ASP.Net application.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I developed on console application. I finished that successfully.My requirement is,that application automatically run in weekly once. I don't know how to set automatic debug.Can you please any one help me.
When you create a Console application, you will get an executable file *.exe.
You may schedule the exe using Operating system scheduling. That way you can specify the time and interval for the application to launch itself. You can't set it to debug through visual studio.
Another way could be to create Windows Service application, but probably you don't need it. Scheduling is a much better option.
You may see this article: How to schedule a program to run automatically.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am seeing this error after I merged some changes from some one else's code. I was able to browse to the directory fine before.
Now, Basically my localserver is throwing this error. and that is all it is saying. I did try running the project as admin and I tried giving iis full permission the folder and everything but no luck yet. Any suggestions?
Try running the page on the web server - it may then give you the actual 403 error - e.g. 403.11 - then you can look up that error here
If you are not talking about a huge amount of merged changes applied to your repository, most probably, you will loose less time by
undoing merge
and checking one-by-one changes available on the server.
From my experience this often is a easiest way.
Hope this helps.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Actually I am bit of confused right now and need some guidance. I have been offer a project to create web portal to generate report. Scenario is something like this,
Client has a business and he need to check the report of hourly sale. What should I do, should I put the SQL Server online or is there any other way to excess server database remotely. I have no experience in creating web portal, how should I start doing it.
Can anyone guide me in proper manner? I have experience in C#.NET using Visual Studio 2010.
Thanks.
This suggestion is without completely understanding your situation but...
There is an open source package called nopcommerce which has an inventory system, sales and other canned reports and a basic CMS built in.
It also includes all source code in C# and works with SQL Server.
It's generic enough to use for most retail scenarios and going this route will save you TONS of time trying to start from scratch.
I would think you could just download, install and customize and get 95% of everything you need from it.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
How should I go about making an application with C# and .NET where, say, on one computer a button is pressed that triggers an event on the other?
I saw this:
Recommended way to communicate between processes running on different computers on the same network
I've never heard of WCF, is that what I should try?
You're question is way to broad however I can give you a brief overview of how WCF (and most client/server apps) work.
You create a WCF service and then you reference the WCF service (in VS right click references then add service reference) inside your client application. The click in the client application will send a message to the WCF service that will deal with that message.
As mentioned the getting started guides are pretty decent. The WCF Test Client is a great debugging tool as well. If you open the Visual Studio command prompt and type wcftestclient, it will pop up.
Here are some articles that might be helpful:
http://msdn.microsoft.com/en-us/netframework/aa663324.aspx
http://msdn.microsoft.com/en-us/library/dd936243.aspx
http://msdn.microsoft.com/en-us/library/aa751792.aspx
http://blogs.msdn.com/b/tess/archive/2009/01/09/net-hang-my-application-hangs-after-i-called-my-wcf-service-a-couple-of-times.aspx
http://blogs.msdn.com/b/wenlong/archive/2009/07/26/wcf-4-higher-default-throttling-settings-for-wcf-services.aspx
http://merill.net/2008/10/wcf-performance-optimization-tips/
Yes, I would use WCF, because I know it's pretty easy to get a simple project running with WCF, and that will give you confidence to build on it. (Having said that, I dont have much experience with any other networking technologies.)
Start with this Getting Started tutorial.
Then if you have more specific questions, ask them.