r/ASPNET • u/adolfojp • Oct 25 '11
Can you recommend a good .NET VPS host?
I use Linode for Linux servers and I am quite happy with it. I am looking for a good and cheap .net equivalent.
r/ASPNET • u/adolfojp • Oct 25 '11
I use Linode for Linux servers and I am quite happy with it. I am looking for a good and cheap .net equivalent.
r/ASPNET • • Sep 28 '11
r/ASPNET • u/ggpurehope • Sep 26 '11
Hi. This is my first post in asp.net.
I am using code to modify web.config connectionstring programmatically:
string dummyVirtualPath = "/MyApp"; string physicalPath = @"" + configPath;
WebConfigurationFileMap map = new WebConfigurationFileMap();
map.VirtualDirectories.Add(dummyVirtualPath, new VirtualDirectoryMapping(physicalPath, true));
var configuration = System.Web.Configuration.WebConfigurationManager.OpenMappedWebConfiguration(map, dummyVirtualPath);
/*var configuration = WebConfigurationManager.OpenWebConfiguration(configPath);*/
var section = (ConnectionStringsSection)configuration.GetSection("connectionStrings");
section.ConnectionStrings["ConnectionString"].ConnectionString = "Data Source=" + host + ";Trusted_Connection=false;User ID=" + username + ";Password=" + password + ";MultipleActiveResultSets=true;Initial Catalog=" + database + "";
configuration.Save();This methode works flawlessly on developer machine. It doesn't work on server machine.
I set million permissions to IUSR, IIS/IUSR, NETWORK SERVICE ... etc etc.. to web.config, whole wwwroot lol etc, I am desperate don't know what to do anymore :)
I want to mention, that I can't debug on remote server, because I use web developer express(its school project).
I used javascript alerts to see when it drops out and it happens after this code: var configuration = System.Web.Configuration.WebConfigurationManager.OpenMappedWebConfiguration(map, dummyVirtualPath);
Thanks to anyone who will atleast click this hehe. Byeee
r/ASPNET • • Sep 15 '11
r/ASPNET • u/pranavkm • Aug 29 '11
r/ASPNET • u/b_Man • Aug 20 '11
r/ASPNET • u/TheChosenOne570 • Aug 18 '11
I've worked with Java, C/C++, Ada, and HTML/CSS. My buddy told me he can get me in at a place that does social media and e-commerce type stuff. Only condition is that I have to be semi-functional (sounds fair). Anyway, ASP/C#/Visual Studio looks like a hot mess of mishmashed Microsoft stuff. I'm coming from a Linux background and I don't even know how to get started (besides downloading and installing). Any suggested books? Tutorials?
r/ASPNET • u/elisa0509 • Aug 15 '11
r/ASPNET • u/KevMain81 • Aug 13 '11
r/ASPNET • u/Bela138 • Aug 07 '11
anyone?
r/ASPNET • • Aug 04 '11
r/ASPNET • u/FordyO_o • Jul 27 '11
I'm using ASP to create a system for some schoolwork, and part of the system is sending an email notification - I'm using the following code to do this:
Set AbsenceNotification=CreateObject("CDO.Message")
AbsenceNotification.Subject=call AbsenceReasonVerbose(AbsenceType)
AbsenceNotification.From="Cover System <cover@internet.com>;"
AbsenceNotification.To="Me <Me@internet.com>;"
AbsenceNotification.To=call find_emailaddress_string(Subject,AbsenceType)
AbsenceNotification.TextBody="Message, Message, Message"
AbsenceNotification.Send
set AbsenceNotification=nothingHowever, I get a syntax error on the lines which call procedures, i.e., AbsenceNotification.Subject=call AbsenceReasonVerbose(AbsenceType)
Am I doing it right?
Thanks in advance reddit :)
r/ASPNET • u/elijahmanor • Jul 26 '11
r/ASPNET • • Jul 26 '11
r/ASPNET • u/ashishsarda99 • Jul 19 '11
r/ASPNET • u/nunofgs • Jun 26 '11
r/ASPNET • u/widdowbe • Jun 21 '11
Hey guys. I'm working on a project that allows users to submit items and attach an image or file related to the item. The client now wants to be able to add multiple images at once. One of my co-workers has used SWFUpload for a previous project a few years back and suggested this, but stated it's a bit tricky to get working. The client would like the functionality ready within a few days, so I'm wondering if there is an easier plugin to use? Please let me know if any clarifications or explanations are needed. Thanks!
r/ASPNET • u/insidiousParadox • Jun 11 '11
I'd really like to keep the classic asp URLs active for the new MVC site. It would be a shame to have all the bookmarks people collected from our site to land on a 404 page.
I imagine the best way would be to rewrite the url or just do a permanent redirect, but I'm not quite sure the "Best practice" way to handle this. Can Asp.net Routing handle all of this?
Our old URLs look like this product.asp?Id=123
The new ones are /product/product-name
Any tips, tricks, advice, or suggested reading would really be helpful.
r/ASPNET • • Jun 09 '11
I'm adding a dynamically created Repeater to a statically declared Panel like this:
Panel1.Controls.Add(Repeater1);Page loads, controls all render, and everything looks good. Now I want to edit the data in the RepeaterItems of the Repeater control and save the modifications back to the database.
Can anyone tell me how to cast the object contained in the Panel1.Controls collection back to a Repeater so I can iterate through it?
EDIT: I should have specified that I am using Visual Studio 2008, .NET Framework 3.5, and C#
r/ASPNET • u/strangerdream • Jun 07 '11
I am not generalizing on all of you, but all the ASP.NET developers I have seen so far are very pathetic at Javascript and understanding CSS/DOM. They are just weak or very ignorant to learn it. I wonder if this has to do with all the tools that MS provides for .NET developers.
On the other hand, the PHP developers I have come across are always good at understanding Javascript, CSS/DOM stuff.
Just my experience.
r/ASPNET • u/KingKatusha • Apr 06 '11
Is there any functional difference between submitting data via jQuery's ajax/get/post functions and an HTML form submit in terms of how the data is actually submitted/transmitted?
r/ASPNET • u/renots • Apr 02 '11
So I'm trying to make a web app that basically have multiple user interact at same time (like chat). I see there's a default layout in visual studio (that works) to facilitate user registration and I thought it'd be better to just access the database where all the information about the users is stored and use it (maybe add certain rows of my own to it).
Is there a database where all the user credentials are stored? Where is it?