I have created an silverlight application and services. After i published it in
IIS(Win Xp or Win server 2003), i need to do an IIS reset to access that app. What may be the reasons?
Thanx in advance
Consider any Asp.net application deployed with some javascript version 1.0 and then after in development you changed the script and re-deployed ,if user don't hit refresh button,asp.net website will keep continue using script 1.0 ,so in this case either we ask user to hit refresh or else change the script version to 1.1 and re-deployed.As it was cached at client (browser)
Silverlight itself is client-side technology,when we request for any silverlight application it downloaded the xap folder (including dlls,client-side code).
Give try ,once you again deploy the Silverlight on IIS. Just Refresh the url,clear browser cache and see,it should work without IIS Reset.
Related
I have a back-end process that I would like to use to connect to Evernote and download some notes. I thought I could use the developer token which I used successfully in the sandbox environment but when I tried to set it up in Production the Evernote support team said that it was discontinued and not allowed to be used in Production.
I then tried to use the
ENSession.SetSharedSessionConsumerKey
but that brought up a web browser to verify that I could use the service. The problem is this is a back-end process and I don't want a manual step of clicking the authorization web form.
Has anyone have a solution to do this?
How to display and open installed applications on local machine using asp.net web application
I want to show the list with a dropdown menu and when I click on any application that application should open.
If I understand your question properly, the answer is "You can't."
Reason: Your web application is sand boxed due to security reasons.
Think of it like this: You don't want Facebook to find all your installed applications to figure out what ads to show you. You don't want any malicous site to figure out which applications you have installed to exploit a security error in application X.
I have one windows application developed in c# and one web application developed in asp.net and MVC. Now i want a mechanism like when i press button in windows application it should open this web application preferably in IIS it self so that my web application is viewed in browser. kindly help with this as my final year project is pending due to this
You just have to open the URL of the Web server.
See: How to open in default browser in C#
System.Diagnostics.Process.Start( "http://google.com" );
The way to do this is to first host your web app and provide it URL to the button click like
Response.Redirect("Your URL");
If use want to test this before having your web app hosted , You have to put both the project in one Solution and in Properties of it you need to set both the projects as startup project. No doubt your web app will also open but for time being you can ignore that window and can check whether the redirecting of URL is working.
I wrote both BackEnd and FrontEnd of my web application using c# in visual studio 2015. I am using IIS 8.5 in Windows Server 2012R2 for hotsing (BackEnd and FrontEnd).
I have a caching problem. many times the database changes (threw using my web app or even if I want to edit some info manually), but the information shown in my website is not updated. I think this is a caching problem with my IIS but even after disabling all caching the problem still occurs. Only in case of a IIS reset the info in my web is updated.
for example:
changed the value in my sql database:
The value that shows in my web page(old value):
doing an IIS reset and the web page will show 2 as needed.
any ideas what causing this problem?
ps: even after Ctrl+F5 refresh it wont change.
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