Serving Videos From Amazon S3?
Dec 17, 2010If I host video or any other media content on Amazon S3, how can I use ASP.net Membership to enforce access rights?
View 1 RepliesIf I host video or any other media content on Amazon S3, how can I use ASP.net Membership to enforce access rights?
View 1 RepliesMy requirment is to display all videos by clicking that videos it want to play how to do this .how to add mediaplayer into list view and play the videos.i want to display in this format http://www.youtube.com/results?search_query=sports&aq=f
View 3 Replieshow to upload videos and after uploaded the videos then play it..using flash player......
View 1 Replieshow to do an amazon lookup similar to this, http://blogs.msdn.com/b/coding4fun/archive/2006/10/31/912260.aspx, I would just use this, but it seems to be out of date and the source is no longer available. Ideal What i would like to be able to do is look up items on either keyword such as "star trek" or straight up UPC. What I would like to get back is title, description, year, and a link to an image, type (dvd, books, music).
View 2 RepliesI'm using visual studio 2008 and trying to do API itemsearch like books or something.I am using just accessKeyId, but when I click my "search" button to search books, then comes signature error. Do I need to use secretKeyID also? I just created new ASP.Net web site in visual studio Or I have to use AWS SDK for.Net package?
View 1 RepliesI am making an amazon S3 downloader. In download method I prepare a url something like [URL] I redirect the user to that url (which opens that image.gif in the browser) I see the image opened in the browser , but not as SAVE AS widow to save at a location. I have heard that I can add HEADERS in Response which can force SAVE AS dialog to save the file. how those headers re added?
View 1 RepliesI've got a client that is planning on selling content on iTunes, Amazon and Audible. I've done some quick searching, but so far, have come up empty: Is it possible to tie into these systems via an API to get access to sales? asically, I want to have the ability to know which items a user has purchased when they log into the standard website of my client. Maybe there's a way to get this information if the user supplies an order number or something?
View 2 RepliesHow can amazon API be used to search a book using an ISBN number with asp.net?
View 2 RepliesIn order to maintain user uploaded images in website becomes very tough as the number of images are increasing. In the long run the available disk space will come to 0 bytes.
Amazon generally provides unlimited space for their S3 service. If we want to provide unlimited space to our website what are the possible ways?
I am trying to pull all products from Amazon Product API, but as far as I know, that's impossible to do unless they give you access to Bulk Data Feeds.
View 2 RepliesI have to create a web app (in C#) that's gonna let my users upload their files straight to Amazon S3 (not enough bandwidth on our own server). It looks like the only way i can do that is posting a simple HTML form to Amazon. The problem is that i have to do some work on my server too, like renaming the files, setting up flags on db when file is uploaded, and so on. I really can't see how to do that without uploading files first on our server, which is out of question, so other solution for this? Amazon S3 forum is pretty poor on this topic.
View 2 RepliesWe have a large site with thousands of static html files. Some of them are ISO-8859-1, others are UTF-8 (with and without byte order marks).
The web.config file looks like this:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="utf-8" />
</system.web>
</configuration>
If I change the fileEncoding to "ISO-8859-1" it works for both ISO-8859-1 and UTF-8 if there is a byte order mark. We are trying to avoid manually checking and adding byte order marks to files that do not have them. Is there any way to accomplish this?
The files have the charset meta tag. Can we make the server read that to determine the file encoding?
EDIT
If I remove the wildcard application mapping to aspnet_isapi.dll the files are served correctly. Is there any way to have the wildcard match everything except for .html?
I'm trying to serve a pdf file from a database in ASP.NET using an Http Handler, but every time I go to the page I get an error
XML Parsing Error: no element found
Location: https://ucc489/rc/NoteFileHandler.ashx?noteId=1,msdsId=3
Line Number 1, Column 1:
public class NoteFileHandler : IHttpHandler
{
public void ProcessRequest(HttpContext context)
[code]...
I am hosting the ASP.Net runtime in my exe but I find that if I try to access htm or xml files from the browser, it gives a 404.
I can access aspx, asmx and other asp.net related files just fine.
Is there any configuration that I need to do to server other file extensions and if so, what?
I am working on a web application where images has to be scaled dynamically and served to the client as fast as possible (with low overhead). I need to create something that scales and compresses high-quality PNGs to medium quality JPEGs.Now, there are multiple ways of doing this and I am slightly confused which method provides the best solution for the application to be as fast as possible - and I was hoping you guys could guide me in the right direction.This application will run on the .NET 3.5-platform and I am looking for fresh ways of doing this. Googling has given me some clues but most of the articles I found were VERY old (2000-2005 or so).The client app is written in ASP.NET MVC, while the backend app is written in Web Forms. The images are located in a directory in the Web Forms application, but I guess that dosen't say the image handler must be written in Web forms.
View 3 RepliesI have a bunch of EC2 servers that are load balanced. Some of the servers are not sharing session, and users keep getting logged in and out. How can I make all the server share the one session, possibly even using a partitionresolver solution
public class PartitionResolver : System.Web.IPartitionResolver
{
private String[] partitions;
public void Initialize()
{
// create the partition connection string table
// web1, web2
partitions = new String[] { "192.168.1.1" };
}
public String ResolvePartition(Object key)
{
String oHost = System.Web.HttpContext.Current.Request.Url.Host.ToLower().Trim();
if (oHost.StartsWith("10.0.0") || oHost.Equals("localhost"))
return "tcpip=127.0.0.1:42424";
String sid = (String)key;
// hash the incoming session ID into
// one of the available partitions
Int32 partitionID = Math.Abs(sid.GetHashCode()) % partitions.Length;
return ("tcpip=" + partitions[partitionID] + ":42424");
}
}
a tutorial for using amazon web services for searching book, i want to develop it in Visual Studio 2010, and framework 4.0
View 4 RepliesI would like to lock down a web server that is only serving MVC content. What is the best way minimize my server's attack surface?
View 2 Repliesgot a Asset Management tool which stores (in a folder("node")) an index.htm and a bunch of other asset files such as .js, .css, flv, etcHere's the problem...if I access the index.htm I get ti via it's nodeID http://site/NODEGUID/index.htm , and all compound files try and download via that GUID as well so essientially I just get index.htm content served into each request file, thus giving me an epic fail :)Is there some way in asp.net to intercept that request so I can do a lookup on the DAM and get the proper file reference and send that down instead?
View 3 RepliesI am creating a small testharness which will create load on the website with multiple threads. All I doing is
[Code]....
But this keeps timing out after few request. I have looked into the IIS worker process requests and I can see the requests being in there in the state of sendresponce. If I request the same url from my browser the reponce is there. Am I doing something wrong here?
I am new to IIS and asp and i am having a problem. I am creating a asp.net website in physical folder wwwrootSharePage and virtual directory SharePage When i visit the site on local host or using my ip address or through dyndns proxy on my own computer , the page is served fine, But when any one else from any other computer access my website it takes a long time in loading and finally his browser throws an error (may be page not found error,not sure, see for yourself). I have even changed Authentication mode to none and tried with firewalls closed , still page is not served.
You can have a look here
[URL]
(hosted on my home computer so can be unavailable at times when i have switched off my computer)
or try with my ip address
updated http://117.205.103.192/SharePage/ (can change ,i have a dynamic ip address)
Info:
IIS version 7.5
OS : Windows 7
.Net 4 (even in IIS)
The app_offline.htm file that ASP.NET serves returns the http status 503. This is the correct behavior for most situations. However, in the scenario where a specific URL is requested (e.g. [URL]), I'd like to change the returned http status to 200, while still returning http status 503 in all other situations. Is this possible?
The reason why I want to do this is whenever we do scheduled maintenance on our website, we use the app_offline.htm file, but we don't want our uptime monitoring service [URL] to report downtime during our scheduled maintenance.
I assume this would have to be at the IIS level because the app_offline.htm gets served very early on in the request processing cycle.
I have a domain which is receiving quite a few hits per day and have been asked if I can serve the static content from a subdomain. As the site is quite extensive and already written, I was wondering if there is any way I can use URL rewriting to change:
www.example.com/image.gif
to
static.example.com/image.gif
I have a solution which works using 301 redirects but from what I understand, this is counter productive as 2 requests will have to be made per image. I don't really want to go through all the aspx pages and css to hard code the new url as it will cause problems further down the line - some parts of the site are still being developed and static content could change at any time. I tried using rewrite (as opposed to redirect) to change the url but it came out something like:
http://www.example.com/http://static.example.com/image.gif
How would you achieve this? I have full access to dns and the server (win 2008r2 / IIS 7.5) so can make any changes if url rewriting is not the answer.
I'm pulling back an image that is stored in a column in a SQL server database.I need to serve this up on an aspx page.
View 4 RepliesCurrently in my webpage i load images to the ListView object as follows...
<ContentTemplate>
<asp:ListView ID="ListView1" runat="server">
<layouttemplate>
[code]...