Open 3DXML files in browser using ASP.NET 2008 - asp.net

We have 3DXML files in IIS6.0 virtual directory; we wanted to open those on browser using ASP.NET 2008, when user click on a button. How could we do that, any idea!
Thanks

Have you looked at this 3D XML viewer.
It has a standalone and browser component.

Related

How to Stop page autorefresh in Visual Studio 2017 ASP.NET Core project

I upload images to the server via ajax which are saved in the directory wwwroot.
After this operation page auto refreshing like "browser link".
How can I disable tracking for change in some directories in wwwroot ?
Thanks!
It seems you are talking about the Browser Link and not Browser Sync which is an extension in Visual Studio for ASP.NET projects.
Unfortunately, in either of them, there is no way you can disable it for specific directories. You can only disable them completely. Click on the link given above to learn more on that.

SharePoint 2010, IIS 7 and MHTML files

I have just migrated from IIS 6/ SharePoint 2007 to Windows 2008 with SharePoint 2010. We had a control that servers content with .MHT files. In SharePoint 2007 it was simply able to open it within the same window. In SharePoint 2010 it is showing a "SAVE FILE DIALOG". So, how can I fix this so that IE automatically opens it just the way it does in SharePoint 2007 without showing a "SAVE FILE AS" dialog?
Thanks
Brute Force way:
Central Administration > Manage Web Applications > Select your Web Application > General Settings > Set the File Handling from "Strict" to "Permissive"
There is a better way, but I don't have the link right now (will need to look it up again tomorrow). Essentially through a PowerShell command you can whitelist file extensions rather than setting the entire web app to Permissive.

Embeded Flash in ASP.NET page iis 7.5 local flash file

I'm trying to add Embeded flash in aspx page running on iis 7.5 windows server 2008.
When i'm adding the Embeded code src=/mylocation/test.swf it works fine.
But when I'm adding fileserver location src="file:\\c:\test.swf the page doesn't load.
The code works fine in normal html file on my desktop.
What should I do?
Thanks,
Alex
You should have that file inside your web site and use a relative path to reach it. IIS can then reach the file.

WebDav alternatives? Win server 2003, win 7

I have an internal web page that I have an iframe with the source pointing to a webdav folder. This allows the user to drag and drop a number of files on the iframe window which a button on the main page then kicks off a server side task to process the files.
I am looking for an alternative that will allow me to drag a group of files and drop them onto a target area of a web page which will then upload them to the web server.
Ideally this would be in ASP.Net 2,3 or 4.
Any suggestions?
TIA
J
I ended up using multi file upload Silverlight component. It works like a charm and I believe it is available on codeplex.

VS 2008 Opens Default Browser instead of IE for SilverLight Application

My default browser is Chrome.
When I run my web applications within VS 2008 IDE, it uses chrome.
I want to use IE for this. Is there an option in VS 2008 to make IE the browser to load the web applications?
I just want this when using VS 2008 - I don't want to change my default browser each time otherwise.
EDIT: when creating a silverlight application.
Right click on .aspx file in your solution tree, and click Browse With...
then specify your default browser.
See this question: How do you change Visual Studio's default web browser?
But basically, create an html file inside your silverlight project, right click on it, select browse with... set the default browser. Now you can erase the html if you want to. The next time you debug your project, it will open with the browser you specified for the html file.
You could create a post-build event that runs FireFox.exe, pointing to the url of your website. You can edit post-build events by right-clicking on your Web Application, going to Compile, and clicking the Build Events button. Your post-build command could be something like "C:\Program Files\Mozilla Firefox\firefox.exe" http://localhost/mysite for example.
It sounds like you only have a Silverlight project in your solution. You need to add a web site like ASP.NET to your solution to use Browse With and post-build commands.

Resources