Way To Move A .NET Application To The Cloud

May 24, 2010

I am new to cloud computing, so please bear with me here. I have an existing ASP.NET application with SQL Server 2008 hosted on a Virtual Private Server. Here's what it briefly does:The front end accepts user's requests and adds them to a DB tableA Windows Service running in the background picks up the request, processes it and sets a flag.The Windows Services also creates a file for the user to download

View 1 Replies


Similar Messages:

Installation :: Testing A Cloud Application Locally?

Nov 26, 2010

I am currently building a web application that will involve many servers to get it to run efficiently. I am trying to test this web site at home and I have a few computers running the website. To connect to the website I would type this into the address bar http://192.168.0.200:8080 or I would typehttp://192.168.0.201:8080. However when I transfer my site from one computer to another the web browser can no longer read the cookies. I would like to set up a home DNS server and have the computers in my house access the site like this w1.MySite.com and w2.MySite.com instead of http://192.168.0.200:8080 or I would type http://192.168.0.201:8080 so I can test if my cookies are working accross subdomains. how to set up a local DNS server so I can do this?

View 3 Replies

Configuration :: Unable To Connect To Cloud After Hosting Application On IIS?

Dec 16, 2010

Normally my application is working fine.After I host my asp application on IIS I get an exception "internal error", when I try to execute the below lines of code.

where CertificatePath = C:inetpubwwwroot......

X509Certificate2 cert = new X509Certificate2(CertificatePath, CertificatePassword);
var serviceManagment = ServiceManagementHelper.CreateServiceManagementChannel(EndpointConfigurationName, cert); var listServices = serviceManagment.ListHostedServices(SubscriptionId);

I suppose the application is not able to read the IIS certificate.I am trying to connect to windows azure cloud for which the certificate is required to get list of hosted services from cloud.

Stack trace -

StackTrace = " at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr) at System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromFile(String fileName, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, Safe...

View 2 Replies

#SEQ Keyword - Charting Control With Multiple Azure Cloud Application Instances

Feb 27, 2010

I am having a simple Azure cloud app(WebRole=ASP.Net MVC) which draws charts using ASP.Net Charting control. Chart RenderType = ImageMap Chart ImageLocation = "/Images/Chart_#SEQ(1000,1)" Number of app instances deployed on Windows Azure = 5 App contains a button which draws charts as per users parameters. When user clicks on this button, MVC action is called which provides necessary ViewData for drawing chart and returns a partial view which after getting rendered sends ImageMap and Image location to client.

When I try to draw charts from IE8 I always get the charts as per my parameters but when I simulataneously try to draw charts on FireFox sometimes I get wrong charts(wrong images). Is is due to roundrobin used - #SEQ(1000,1) or due to mutiple instances of my cloud app?

View 1 Replies

Move Application To A Web Server?

Jun 22, 2010

I have an ASP .net Web Application already deployed on my local machine (virtual directory/IIS are configured). I used the Publish tool from Visual Studio. Now I want to move it to our Webserver (I have the IP adress and the appropriate credentials).

EDIT By the way, I'm asking because I don't know if there is a specific way to do this? I can do it manually by moving the files to the remote computer and configure IIS approriately.

View 1 Replies

Web Forms :: How To Move Cursor Position In Web Application

Oct 11, 2010

On Button Click how to move the mousecursor position in web application???

In case of windows application on button_click i have written the following code:

Point p = new Point();
p.X = 41;
p.Y = 400;
Cursor.Position = p;

This works fine & cursors position also change.

but how to do that on aspx page or in web application?

In my case also on button click i have to move the cursors position.

View 1 Replies

Configuration :: How To Move A Secure Application To A Production Server

Jul 20, 2010

I am rather new to asp.net but I have built a couple of apps that do not require users to login. am having some problems moving my secure .net application from my laptop to a production server, however, and I am hoping someone can help me. On my laptop my application's user authentication functions as it should, but when I move my application to a webserver I get an assortment of errors. Forgive me if these questions are a little basic. My first question is this. In a production environment do I move the ASPNETDB.MDF file in the App_Data folder to my SQL server? Is it OK to rename it to something more descriptive?

View 4 Replies

Write Redirect Application / Move All Requests From One Domain To Another?

Aug 5, 2010

I need to move all requests from one domain to another. I want to change part of URL, like subdomain.olddomain/url -> subdomain.newdomain/url.

I was sure that this is piece of cake and wrote Application_Begin request as:

void Application_BeginRequest(object sender, EventArgs e)
{
string url = Request.Url.ToString().ToLower();
string from = ConfigurationSettings.AppSettings["from"];
if (url.IndexOf(from) >= 0)
{
url = url.Replace(from, ConfigurationSettings.AppSettings["to"]);
Response.Redirect(url);
}
else
{
if (url.IndexOf("error.aspx") < 0)
{
Response.Redirect("Error.aspx?url=" + Server.UrlEncode(url));
}
}
}

So far, I forget, that BeginRequest started only when file physically exist. how I can make such redirect in asp.net without creating hundreds of old pages?

View 4 Replies

SQL Server :: Retrieve Data From Database Into Label / Move Next And Move Back?

Jan 28, 2011

[Code]....

i want to get data from database of field Name and Gender, and then display it in Label name and gender. when i click save it move to next record and display name and gender that next record.

View 3 Replies

C# - How To Move Move Apache Windows With Mod_aspdotnet

Sep 9, 2010

We have an already existing project on IIS and we want to move to Apache (windows) with mod_aspdotnet. What things could not work? If we use 3rd party DLLs? Will office components work fine (export to Excel, Word, etc). If you have any experience on this type of migration, I'd like your inputs! Also, is there another alternative to mod_aspdotnet?

View 1 Replies

C# - Backing Up Code To The Cloud?

Dec 31, 2010

I want to backup my code regularly to the cloud. What's the cheapest and easiest way to do this for a single developer? I was thinking of running my code completely from a DropBox share (continuous synchronization with their free storage plan), which seem to meet the requirement of cheap and easy -

View 6 Replies

How To Create Rotating Tag Cloud In JQuery

Feb 18, 2011

I cannot explain the functionality actually. I want to rotate the links in spheric form. Visit this [URL]. On this site, see the region "Chemical formulas" in middle-left of the page, where links are rotating in spheric, circular form. I want this functionality using jQuery / jQuery in ASP.net application.

View 2 Replies

Php - Hosting Web Site On Cloud Service?

Sep 30, 2010

I am planning to build a news publication website that should be automatically scalable when traffic is increasing. I have good experience in developing web applications using ASP.NET and PHP. To move forward on selection of specific technology here are some questions for which I need some clarifications.

My primary intention is to reduce the hosting charges. If we choose LAMP this will cost lower than ASP.NET on Windows. As my intention is to host web application on cloud service, will this make any difference? Means, for dedicated servers we need to pay extra cost for Windows O/S if you compare it with Linux. If we go for cloud servers, will they charge anything for O/S for each instance or will they just charge on computation hours irrespective of Operating System?

Do we have complete control (like dedicated server) on cloud instance to install any other softwares?
Do we need to host web server and and database server on multiple instances when traffic is increasing or will a big size instance can handle huge traffic?

View 5 Replies

RSS Feed Is Giving Error In Cloud?

Jun 14, 2010

In my C# asp.net 3.5 application I am using RSS Feed to get current updates of my website. Its working fine and when we subscribe the feed also its updating the data as needed. Now our application is deployed in cloud. There also this RSS feed is opening and showing the data. But When I say Subscribe to this feed Its giving diagnose error page saying Normailization error occured and can not display the page. Let me know how to work with RSS feed in cloud environment.

View 1 Replies

Create TTPS WCF Web Service On Cloud?

Jun 17, 2010

I want to create a HTTPS WCF web service on azure and want to use it in a desktop application.

View 2 Replies

Web Forms :: Implement Tag Cloud From Database?

Feb 11, 2014

I want showing site keywords like this :

I was used Repeater and DataList for this, but they don't show like that.When using DataList :

My code :

 <asp:DataList ID="dtltag" runat="server" EnableViewState="False" RepeatDirection="Horizontal">
<ItemTemplate>
<div class="tag"><a href='<%#Eval("tag","Paper.aspx?tag={0}")%>' ><%#Eval("tag")%></a></div>
</ItemTemplate> </asp:DataList>I don't want limit my DataList with RepeatColumn , i want wrap tags when it necessary.Which control should I use?

View 1 Replies

Web Forms :: How To Create Tag Cloud For Blog

May 7, 2015

How to create Tag Cloud for Asp.net Blog.

View 1 Replies

Forms Data Controls :: Cloud Zoom In DataList?

Dec 6, 2010

I got cloud zoom and tried to get it into my asp.net page.

[Code]....

For the first pic in the data-list it works fine, but not for the following pics. what am i doin wrong

View 1 Replies

How To Move An UI Testing For A Website Project To A Web Application Project

Oct 6, 2010

I was not able to do unit testing for our existing web site project. I converted the web site project to a web application project. I did some unit testing and changes on the converted web application project. However, my co-worker was doing UI testing on the web site project. We need put UI testing and unit testing to the web application project. Is it possible to move the UI testing code that my co-worker did to the web application project I am working? If so, how do you do it?

View 2 Replies

Run System.Web.DataVisualization In Medium Trust At On Rackspace Cloud Sites

Aug 4, 2010

I am having problems getting Microsoft Charting:

System.Web.DataVisualization.dll

To work in the Medium Trust on Windows Server 2008 on IIS 7 Using .Net 3.5 In an environment at Rackspace on their Cloud Sites. I get this error message from the Rackspace hosting environment:

Security Exception

Description:
The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details:
System.Security.SecurityException: That assembly does not allow partially trusted callers. I have setup a site in our local staging environment to test the medium trust, and I get this message: Required permissions cannot be acquired.

Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details:
System.Security.Policy.PolicyException: Required permissions cannot be acquired.

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[PolicyException: Required permissions cannot be acquired.]
System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) +10239406
System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission) +97
[FileLoadException: Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +416
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166
System.Reflection.Assembly.Load(String assemblyString) +35
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +190
[ConfigurationErrorsException: Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +11204104
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +388
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +232
System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +48
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +210
System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +76
System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +283
System.Web.Compilation.BuildManager.CompileGlobalAsax() +50
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +676
[HttpException (0x80004005): Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +76
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +1012
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +1025
[HttpException (0x80004005): Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11297830
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4336948
Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016
Rackspace will not install the MSChart.exe package on the Rackspace Cloud Sites servers.

View 1 Replies

Visual Studio :: 2010 Hangs After Running First Cloud Project?

May 2, 2010

I installed VS2010. Then The Azure toolkit. I created a new solution, with one webrole in it. I added 'HelloAzure' to the default.aspx, and then pressed f5 to run it.

It runs! I see my text 'HelloAzure' in IE8. Yeah!

Now, when I close IE8, it seems that VS2010 simply hangs, is frozen. It accepts no input from mouse/keyb. Nothing moves ... you know ... it hangs.

Taskmanager is required to get out if this state.

View 5 Replies

How To Automatically Send Print Job From "Cloud" Server To Printer

Aug 20, 2010

A picture is supposed to be worth a 1000 words, so let's see if that can shorten this post up a bit... Essentially, I'm looking into "how" to code a solution that runs on the web server within the cloud that will send a print command to a printer within office 1 (label printer).

The print job is really part of work flow within the ASP.NET web application and I would like to keep all of the code within a single application if possible. How can I go about doing this?

Due to security, I should avoid creating a new application within Office 1 that pulls data from the "cloud" and have the "cloud" be used to push the command downward. I'm really looking at this from a code standpoint within the ASP.NET app and also potentially transcending into more of a serverfault/superuser question on the printer. I'll save that for a future question there though.

View 1 Replies

How To Move This Image Better

Jun 27, 2010

see this [URL]The double headed white arrows is my illustration of how I did this I have a bunch of labels from the left, then I need a measured space to the right hand side. All I could do was this

<a href="http://www.twitter.com/xxxxxxxxx"><img src="http://twitter-badges.s3.amazonaws.com/twitter-b.png" style="border:solid 0px white;" alt="Follow xxxxxxx on Twitter"/></a>

Is there a better way to have the twitter image parked always on the right hand side after menu labels.??

View 2 Replies

ListView Won't Move In IDE

Oct 29, 2015

so if I have a new project.. and throw a list view on there I can make the position absolute and move it all over..

if I try to add a new listview to an existing project it throws it to the left edge all the time..I have other controls already there and I can move them... just not a new list view...

if I add a new label I can move it.. just not a new listview.. is there something I'm missing ?

I have my check box set in options to be able to move controls so I know that's not it..

View 3 Replies

How To Move A Console App To A WebPage

Mar 6, 2010

I'm just learning C# and using MS Visual Studio and a tutorial website.

I've written a little console app and now I want it on my website but I can't find out how to do it. Not in VS, nor their help screens, nor on that tutorial site, nor anywhere else I look.

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved