I already have ASP.NET hosting, but I'm not sure how to run my application off Neo4j, since it requires a Java stack.
It seems my only options are:
Get separate Java/Linux hosting, and install Neo4J there, utilizing it as a database server. Get Neo4J-as-a-service, (akin to what MongoHQ does for MongoDB users) but I haven't had any luck finding providers. Move my whole application to Mono and then put it all on Java/Linux hosting and install Neo4j.
I was recently asked to speed up a C#/ASP.NET/SQL Server business app website. Since I just started, I don't know too much about the internals. So where do I start? Sight unseen, what is the single most important thing affecting performance on a system like this? Database tuning? Hardware? Individual page optimization? What is the first thing you'd look at? EDIT: After I actually do the work, I'll come back and post the answer. ;)
EDIT again: "Profile" is currently the most-voted answer, and I agree that that is clearly what one should do. But I was looking for guesses/experience as to what the profiling results would show, so I don't think that answer counts...
Maybe it's been a long day but I'm having trouble persisting a collection backed by the ASP.NET ViewState in a CompositeControl. Here's a simplified version:
public class MyControl : CompositeControl { public Collection<MyObject> MyObjectCollection { get { return (Collection<MyObject>)ViewState["coll"] == null ? new Collection<MyObject>() : (Collection<MyObject>)ViewState["coll"]; } set { ViewState["coll"] = value; } } } public partial class TestPage : System.Web.UI.Page { protected void btn_Click(object sender, EventArgs e) { myControl1.MyObjectCollection.Add(new MyObject()); } }
When the button is clicked, the event hander btn_Click executes fine, but the setter for MyObjectCollection never gets called, hence the new MyObject() never gets persisted.
Is it possible to host an ASP.net (MVC in particular, but I'm not sure if that's important) application from a self-hosted WCF service? I don't want to get into IIS, and I'd like to avoid something like Cassini if possible.
I've just developed WCF Application including a few wcf services in it.When I run the services thru: view in browser, I get a webpage with url: ttp://localhost:4205/myWcfService.svc.I used these name for making add servce refference in y website. It is working well on my localhost.Now, when I want to upload it, how should I upload the WCF Application, and how to connect it ?
Currently I have a large number of xls files that are being shared over a network share. These files are have a copyright on them and have logic embedded in them to manage sales information. Because of the copyright, I can't extract the logic out of them and build an application.
I would like to know if there is a way to develop or purchase a control/app that will allow these xl files to be hosted via a website.
the web server would provide an html front end to manipulate the the xl sheet that resides on the server. Users need to have the ability to modify the file and then save back their changes to the xl sheet (on the server)
I really don't want to give the users the option to SAVE AS either. That will cause the xl sheets to become decentralized and remain on everyones computer.
I have one asp.net application which is successfully runnig in hosting...Now we have one more hosting provider there also we deployed the same application..But in our old hosting all the pages are load very quick compare to new hosting.. so i need to see the difference why it load page very slow in new hosting...?So how can we check that its a server problem (or) Traffic (or) network problem (or) any other..
I need to get the MAC address of the machine which will be hosting web application. Web Application will be hosted locally (just for LAN in small environment). We will provide server which will host the application and the other machines will access the application through the system which we will provide.
We want to hard code the MAC address in ASP.NET application and check it if the application is still being hosted by the same server.
We don't want the client to clone the Hard Drive and use the application somewhere else.
We don't want any information about client machine which will request the web application.
Many websites shows about how to run mobile pages on emulators...Actually how to run it in actual (real) mobile phonewant to use my own mobile as the real mobile phone to run the mobile pages and if possible.Can i run it like web application. Run in localhost?
created project as a WCF Service application and now according to recuriment that needs to be converted as a self hosting applicationConverting WCF service app to Self hosting app
I have developed a web application in asp.net with c# with out using master page. I have developed this application in iframe.
The problem is that my application run smoothly but suddenly it stops and do some processing and it run again smoothly.
it stops any where on page load, on button click, on checkbox changed. i can not tell where it stops
it stops only when page post. i can see the processbar on browser's statusbar it stop for long time 40 to 60 seconds and after that i fire same event now process complets within 2 to 5 seconds
I've uploaded a working application to my hosting web server and one page that I was working throws an error. In my web.config I have setting like this: .... <customErrors mode="Off" defaultRedirect="errorpage.htm"> <error statusCode="403" redirect="bannedaddress.htm" /> <error statusCode="404" redirect="filenotfound.htm" /> </customErrors> <compilation debug="true" targetFramework="4.0"> ....
and I am redirected to errorpage.htm even though customErrors mode is set to Off. I can't find any info about the error (other than it occured) in the log files. The question is: what should I change to be able to debug the app?
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...
i have develop my silver light application using asp.net and i want to deploy it , i am using vs 2010 and planing to use vsweb deployment project 2010 for beta
if uploaded my hole web application to arvixe hosting company then when i try to run it it give me the following error (Does any one know what it is that i should do)
I understand I can use either the CodeDOM or Mono for compiling and executing C# code on the fly. Which of these are suggested given the security concerns of executing code and flexibility? EDIT: I need to create an editor in which any user can enter code and choose to execute it. My concern is that if they have malicious code (accessing the file system for example) then I need to take precautions to prevent this from happening. How would I do this using CodeDOM or Mono?
am compiling the asp.net web application page by page using "gmcs" command in Mono.ut i want to compile the whole asp.net website at once using Mono command. gmcs /t:library /out:bin/AJAX.dll -r:System.dll -r:System.Web.dll -r:bin/AjaxControlToolkit.dll Default.aspx.cs Default.aspx.designer.cs I do not want to do like the above one, instead i want to compile the whole folder containing files at once.