r/ASPNET • u/tihomir_wwf • Jan 21 '10
r/ASPNET • u/[deleted] • Sep 16 '09
Announcing the Microsoft AJAX CDN - ScottGu's Blog
weblogs.asp.netr/ASPNET • u/drummer_si • Dec 01 '13
Entity Framework with MySQL Issues
I'm a beginner with c# / asp.net and I'm trying to get entity framework code-first working with mySQL usign a variety of tutorials.. I've managed to get through loads of issues but this one is killing me:
When I try to migrate the database I receive the following error: MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'no' in 'field list'
Based on the SQL generated:
set @columnType := (select case lower(IS_NULLABLE) when `no` then CONCAT(column_type, ` ` , `not null `) when `yes` then column_type end from information_schema.columns where table_name = `Student` and column_name = `FirstMidName` );mySQL doesn't know WTF the ` character is.. This should be either ' or " -- Is there any way to tell the migrator that this should be the case?
P.S. In my Migration config I have the following code:
SetSqlGenerator("MySql.Data.MySqlClient", new MySqlMigrationSqlGenerator());r/ASPNET • u/acj1971 • Nov 23 '13
Encoding an ASP.NET MVC 4 Model for Javascript within a Razor Page
adamjohnston.mer/ASPNET • u/roblauer • Oct 31 '13
Telerik announces major enhancements to Icenium for Visual Studio - cross platform mobile app development tool
r/ASPNET • u/elf25 • Sep 12 '13
Dead asp web site.
Need a little help here. I have a web site built in ASP before 2003. The developer has "left the building" and pretty much computing all together to be a radiologist. Gave me the site (entire server actually) on an HD and said "just copy it" to some new Windows server, if you can find a host running 2003 that would be perfect. Well.... I've not found one and ended up on whatever. Site does not work. The database is a text file in access and it's on the server but the asp pages do not seem to be connecting to the database and it's throwing errors. - Does this call for basically a rewrite to connect the pages to the DBase? Or is there just a path somewhere to change that we've not been able to find.
r/ASPNET • u/Bizzley • Jul 30 '13
What is your development workflow?
I was just wondering what people's development workflows are? From start to finish, planning, prep, design, code, source control, test, deploy, what does everyone do.
Thanks in advanced for sharing!
r/ASPNET • u/msdevver • Jul 30 '13
Easily Integrating Github within Visual Studio
r/ASPNET • u/xivSolutions • Jul 19 '13
Building Out a Clean, REST-ful Web Api Service with a Minimal Web Api Project
r/ASPNET • u/xivSolutions • Jul 09 '13
Creating a Clean, Minimal-Footprint ASP.NET WebAPI Project with VS 2012 and ASP.NET MVC 4
r/ASPNET • u/dininski • Jul 04 '13
I'm new to ASP.NET and have a membership problem, that I cannot resolve
Hi,
I am new to ASP.NET, but have some experience using MVC frameworks (CakePHP and AngularJS, if you can call it MVC). I have the following assignment - I need to create a simple site where you can create a profile, fill in some personal information and choose which of this info will be visible publicly and which not. I was thinking of associating that information with the user profile and once you create a profile you will be presented with the option to fill in those details. However I am struggling with the membership part - does a member have a unique Id number and can I use that in order to associate information with a user? Or is it better to implement custom membership user?
I really could use some pointers on that. Thanks is advance.
r/ASPNET • u/pi_over_3 • Jun 06 '13
What is the best way to create an Excel file from an HTML table? Not looking for an in depth solution, just a pointer to the right direction.
TL;DR: Looking for the best way to create Excel files from an HTML table.
I have a data driven site (built with asp.net MVC 4) that displays a lot of tables to users, and I want to give users the ability to download the data as an excel table.
There seems to be a lot of different options, so I'd like to get an idea of what to check out first before I spend a bunch of time trying all of them.
Some of the options I have seen range from sending the whole table back to server, converting it to XML, then converting to an excel file to recreating the data and then using Open XML SDK to make the excel file.
I have a basic class that creates a SpreadsheetDocument, adds a WorksheetPart, and then adds the data in a Sheets. The big downside to this is that for every page with and HTML table I will have to set up the specifications for how the sheet is built (ie, how many columns and whatnot).
I would love to hear what some of you are using.
Edit: I ended up going with DataTables and TableTools. http://datatables.net/extras/tabletools/
r/ASPNET • u/Ntrees • Mar 03 '13
new to asp.net so noob question. why doesn't my selected index change event on a drop down list not trigger? (C#)
basically i want a textbox and a label to appear when a specific item is selected form a dropdown list. in the code behind i have something like this in the SelectedIndexChanged event:
if (DropDownList.SelectedItem.Text.Equals("Item"))
{
Label.Visible = true;
TextBox.Visible = true;
}
else
{
Label.Visible = false;
TextBox.Visible = false;
}except that the label and textbox wont appear until i bush a button causing a postback. any tips? i feel like i'm missing something very trivial....
r/ASPNET • u/feodorf • Feb 18 '13
Service for easy deployment of ASP.NET apps to your server, Azure or AWS
Hey guys,
We've just launched Appveyor - a new deployment automation service for ASP.NET apps and I'd love to get your feedback!
Service highlights:
Easier to setup and use than Web Deploy
Deploy ASP.NET, MVC apps with SQL Server databases
Deployment process can be extended with PowerShell
Built-in provisioning of IIS websites, DNS and SSL
Thanks, Feodor
r/ASPNET • u/KevinAndEarth • Nov 29 '12
I need a new ASP.NET web host with SQL Server
I asked this question about a year ago and found a company called arvixe that seemed to be good, until their control panel started timing out and their support was useless. Last night, it seems like one of their techs decided to reset my DNS settings and all of my gmail hosted email on that domain have died. I guess I made the wrong decision with them so I am back on the market for a web host again.
TL/DR: I need a new ASP.NET shared host with MVC4 and 1 SQL Server database (any size is enough). I've been with GoDaddy and they were okay, arvixe just made my head assplode with their "support" so neither of them. Any other good ones out there?
Thanks!
EDIT: Thanks for the suggestions, I didn't think about stating my budget which is "cheap" because these things get NO load, its just my portfolio and some photos and stuff.
EDIT2: It looks like it is between gearhost and winhost at the moment, thanks for all of the input everybody!
r/ASPNET • u/adrin84 • Aug 23 '12
Basic HTTP authentication in ASP.NET Web API using message handlers
piotrwalat.netr/ASPNET • u/Nemmie • Jul 16 '12
Should I unit- or integration test my ASP.NET Web API services?
r/ASPNET • u/Carolix • Jun 18 '12
Creating Car Rental Application in ASP.NET MVC3 Razor
r/ASPNET • u/Minoripriest • Jun 14 '12
Do ascx files need to be mapped to the MIME?
I have an website I'm working on that is using ascx files to load some charts. Everything works perfectly when I debug the website, but when I publish, I get a 404.3 error.
I added ascx to the MIME, because I couldn't find anything else, but instead of displaying the charts, it displays something like
<%@ control language="C#" autoeventwireup="true" inherits="..." %> I've been googling all day trying to find a solution to this, but I haven't had much luck.
r/ASPNET • u/takk___ • Mar 02 '12
Could someone guide me a bit and answer some questions I have? (not technical questions)
Okay so forgive me if this isn't the specific place I should be posting this. I have seen other subreddits like /r/cscareerquestions but I thought this would be better.
I have a few questions regarding what I should learn and in what order, also if this is the right path for me. Before that I will give you a bit of a background on me...
I am 24 and recently became laid off from my first Web Developer position out of college. I graduated in 2010 with a bachelors degree in Information Sciences and Technology from Penn State. In a nutshell the major exposed us to everything imaginable in IT, programming, project management, networking, UI Design, etc. That was the good part. The bad part is that none of these classes were much about "the basics."
I took an internship with a web development company and was eventually hired by them full-time after college. I mostly took care of HTML/CSS emails, but I delved into the world of ASP.NET/C# and also Javascript for the first time here.
Long story short... one of the major clients we worked with got sold and all my work was gone.
Here I am unemployed, seriously attempting to learn skills to better myself in finding a job that I actually LIKE. I have been interested in web development since I was in middle school and I will always be. I just have some questions regarding if this is the right path for me etc.
I recently started reading a C# book to better understand it, but I hit a wall. I get all the basics for the most part... mathematical statements, loops, if/else, and things specific to the world of ASP.NET in setting labels text, and on occasion I used table adapters with stored procedures to retrieve data. However, I am to the point in this book (which is based around Windows Form Applications, not the world of web) where it is beginning to run away with the concept of objects. I seem to understand the theories behind objects (inheritance etc), but I have trouble actually picturing a potential project in terms of objects. How far into the C# world does one have to go in order to be proficient enough in the ASP.NET world? I would like to think I don't need to know EVERYTHING, but I am probably wrong...
Because I generally hit these walls, the idea comes to mind that maybe this isn't for me and maybe I am not intelligent enough to be a Web Developer. I had plenty of classes with CS majors that just seemed so far beyond my comprehension level, yet at the same time, none of them seemed interested in projects they were given. Is this normal or do most people quickly move through C# books? This sounds like a dumb question...
Now that I have been looking for a job, I am torn between front-end development and back-end. Most jobs listed are one or the other and working for a small company, I had to do both. I keep coming to the conclusion that maybe back-end isn't for me, but then I really find it rewarding when I figure something out. On the same side, front-end development seems easier, but it is a major headache having to deal with different browsers etc...
Now that I have all the time in the world until I find something (hopefully soon), what do you suggest I do? I have taken to the "Head First" books by O'Reilly that I really enjoy. So far I just finished SQL since it was a really easy read. I am about 1/3 the way through Head first C# and I hit a wall. I am also about 1/5 through Javascript and have purchased "Design Patterns" and "Object Oriented Analysis and Design".
I primarily used Web Forms at my previous job but would like to head into the world of MVC3 and Razor although I have very little knowledge of either...
Any help would be appreciated, sorry for the long post!
tl;dr looking for pointers on what to learn first, and if this is really right for me
r/ASPNET • u/Nemmie • Feb 25 '12
ASP.NET MVC4 bundling in ASP.NET MVC3
r/ASPNET • u/mcnamaragio • Feb 01 '12
Dynamic ViewState in ASP.Net WebForms - Part 2
r/ASPNET • u/KingKatusha • Apr 06 '11
Functional Difference Between jQuery.ajax and MVC Form Submits?
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?