r/ASPNET • • Jul 19 '11

Send Email In Asp.net Using Gmail

Thumbnail
aspdotnetmatters.blogspot.com
0 Upvotes

r/ASPNET • • 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#)

6 Upvotes

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 • • Mar 22 '13

Responsive Web Design / Master Pages?

7 Upvotes

Hello

I have an asp.net application that is not using MVC/Entity Framework, and adopted the older style n-tier architectural model where I have class libraries devoted to presentation/business logic layer/data access layer.

I am using a .net master page with controls throughout to render content etc. It works well but I'd like to now do some sort of mobile-based format.

Can I just make a mobile-based master page that serves my content in a mobile-friendly way for tablets, and another for smart phones? SmartPhone.Master, Tablet.Master

is this a horrible idea? is this considered responsive web design?

Thanks reddit <3


r/ASPNET • • Sep 15 '11

Just stumbled across Piczard and may use it for an upcoming project involving image manipulation. Anyone have any experience/thoughts with it?

Thumbnail
piczard.com
3 Upvotes

r/ASPNET • • Apr 09 '13

Kendo UI Gauge -- Using local data

5 Upvotes

Hi

I asked this question on Stackoverflow but had no luck, was hoping someone here could help: http://stackoverflow.com/questions/15882939/binding-a-kendo-gauge-to-local-data

EDIT -- What we actually want is to bind a datasource to the gauge and allow the gauge to be refreshed periodically seperate to the rest of the page, do you know how to do this?

<div id="operatorGauge">
    @(Html.Kendo().RadialGauge()
        .Name("gauge")
        .Pointer(pointer =>pointer.Value(VARIABLE_FROM_CONTROLLER) )
        .Scale(scale => scale
        .MinorUnit(5)
        .StartAngle(-30)
        .EndAngle(210)
        .Max(180)
        )
</div>

r/ASPNET • • Aug 13 '11

ELMAH (Error Logging Modules and Handlers) for ASP.NET Apps

Thumbnail codeandeverythingafter.blogspot.com
9 Upvotes

r/ASPNET • • Aug 08 '13

How do you best go about sharing code between similar projects in MVC without just replicating?

13 Upvotes

I come from a winforms background where it was rather easy to set up a project hierarchy and have many different levels of common code so when you're working on a large application which is used by many clients, you can make small simple changes down at a very low level and everything above it stays common between all projects.

How do you go about doing this with ASP .NET MVC?

I've started working on a large job for a client which is just about near completion, and now that many other clients are signing on I feel like I need to make a big decision in architecture to avoid having 10 different codesets, each with tiny differences and similarities.

Thanks for your time guys. Usually I'd Google (Bing?) the shit out of something like this, but I honestly didn't even know what keywords to use.


r/ASPNET • • Aug 28 '13

A To Z Of ASP.Net: Visual Studio Tips &amp;Tricks: 4

Thumbnail
aspdotnetchamp.blogspot.in
0 Upvotes

r/ASPNET • • Sep 10 '13

Retrieving a single value from a gridview?

4 Upvotes

So I've been looking online for quite a while and can't seem to figure this out. I have a grid that is one row being populated by employee metadata from a web service. I'm trying to extract one piece of data from that gridview (the organization ID) which will be used to populate a second gridview. I'm using visual studio 2010 in C#. Thanks so much in advance...


r/ASPNET • • May 08 '12

ASP.NET Event Calendar Now in Video Tutorial

Thumbnail blog.scheduler-net.com
0 Upvotes

r/ASPNET • • Sep 04 '13

Use the MVC Web Application Template in empty/basic project?

3 Upvotes

Is there a way to install/add the design/look and feel in a project that isn't the "MVC Web Application Template"? I want to use it in a quick project I'm writing but I don't want to go through all the junk (user authentication, default views and such) that get installed along with it. I just want the style sheets, layout and graphics.

Is there any way to do that?


r/ASPNET • • Aug 05 '13

Starting an MVC project from scratch, what are good controls library out there?

10 Upvotes

Basically, I am starting out a project and have free reign over what to use. I am deciding MVC4 so I can learn new skills. But since I am somewhat out of touch with what's current, I wonder what is a good and versatile controls library that's available out there. I am familiar with Telerik's controls in Webforms, so I am looking for something like this but for MVC. And I am open to any, whether it's free or commercial.

I just want to know what you guys have to say about them. Thanks!


r/ASPNET • • Aug 19 '13

Binding Telerik Rad panel bar to url

4 Upvotes

Hi guys, So i have an asp.net web forms application where I have a radpanelbar as the navigation menu. It's being linked and populated via an xml (which is loaded to the database) The problem is I want to tie several different URL's to each menu item, in addition to whatever is on the xml.

Anyway to do that ?


r/ASPNET • • Sep 11 '13

Mvc 4 Code First Models? Graphical representation?

7 Upvotes

After I create some models using code first, is there some type of way I can view these models in a graphical way? Say like uml or some diagram from within Visual Studio 2012?


r/ASPNET • • Feb 22 '13

Open source projects?

1 Upvotes

Are there any active ASP.NET open source projects that you guys would recommend checking out? I'm looking for a good way to build experience working on ASP.NET web apps, but I'm coming up totally dry.

Or am I barking up the wrong tree? I WAS considering learning ASP.NET, but it doesn't appear as if anyone uses it outside large corporate environments. Should I look toward another stack if I'm wanting to do open source projects?


r/ASPNET • • Feb 18 '13

Released: ASP.NET and Web Tools 2012.2 in Context

Thumbnail
hanselman.com
3 Upvotes

r/ASPNET • • Feb 19 '13

ASP.NET Basic Concepts Questions

4 Upvotes

Hey /r/aspnet,

The last 2 days I have learned a ton about the ASP.net Framework. Literally went from discovering the difference between Open Source (PHP, MySQL, Apache to ASP.net, SQL, IIS).

The .NET Framework confuses me just a little and would like someone to make sure I have understand the concepts correctly.

  1. ASP.NET only refers to the web development and not the coding of windows programs?

  2. ASP.NET is broke down into 3 parts. Web pages, Web Forms, MVC. My question is can Microsoft Studio web express 2012 can be used to code for all three parts of the ASP.NET Framework?

  3. When I create a new project in MS Web express 2012, and I load the template 'Web Forms', is this how you start coding in Web Forms or this still consider part of the Web Pages section?

  4. ASP.NET Summary -web pages is sole purpose is to code the website. -Web Forms is the interaction where the viewer inputs data. Older Technology and limited. -MVC is like Web Forms, but has more flexibility. Newer, but a little bit more complicated.

Hopefully you guys can clear some of the problems I have been running into. Thanks!


r/ASPNET • • Mar 31 '11

How would you handle segmented page content in MVC?

6 Upvotes

I am looking to have a panel based layout, to be able to provide content sections depending on preferences.

The big problem is that this somewhat goes away from the idea of MVC.

How would you perform this? Partial views called via a base form, or jQuery called partials?

The reason I ask, is because of the preference options, treating partials like selectable snapins.

Any advise?


r/ASPNET • • Apr 06 '11

Functional Difference Between jQuery.ajax and MVC Form Submits?

6 Upvotes

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 • • Apr 02 '11

How would you handle widgets in MVC 3?

5 Upvotes

I have been working with some new MVC content, and I am considering creating some widgets for a website in which the owner of the website (free website created for a friend) would be able to specify widgets for specific articles.

The question the I have, is how would you all handle this? considering that the widgets would be known, and not completely generic in nature,would you create a base widget class; with representations for said widgets (which is how I figure I should flesh this out)? Or would you use a different mechanism?

For more specific reference, I expect each widget to have a partial exposure, with a base class which exposes the widget representation in the view, but specific representation would be handled.

What do you think?


r/ASPNET • • Feb 18 '13

Application_ResolveRequestCache() taking 10 seconds on first call after Application first starts?

3 Upvotes

I am using RackSpace hosting for my ASPX WebApp and I noticed that, if the site is not accessed in a while, the first pageload can take upwards of 10-15 seconds. After that, subsequent requests load really fast, until there is again a longer pause between them.

I put timestamp logging in all the Global.asax function and here's what it reveals (in miliseconds): Applicaton_BeginRequest[0], Application_AuthenticateRequest[16], Application_ResolveRequestCache[16], Session_Start[11216], Application_AcquireRequestState[11216] ...

So it seems between ResolveRequestCache and Session_Start it takes about 11 seconds! Like I said, this only happens when the website has not been viewed for a while. What's going on? Is my application building the initial cache on first request after it starts? Is 11 seconds normal or is my code that horrible? Is it an issue on my end or my webhost?

FYI: Log confirms Application_End() gets called after x seconds of inactivity and then Application_Start(), followed by the lengthy first pageload, then normal fast pageloads


r/ASPNET • • Jan 21 '13

Separating command data from logic and sending it on a bus

Thumbnail
jefclaes.be
1 Upvotes

r/ASPNET • • Apr 02 '11

Where does ASP.NET store user credentials?

4 Upvotes

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?


r/ASPNET • • Mar 22 '11

Is it possible to take a significant break from development work and then return?

12 Upvotes

I have been working continually in software development for 14 years now. I am a few years under 40 and I am completely burned out. I like doing development work but there are other things I'd like to work on in my life. I am in a job that I am considering leaving however I really don't want to work for a while. I need a break, 6 months maybe a year without doing development work or technical study. However I'm afraid if I take a break from working I will not be hired back to do development work. There seems to be a bias against technical people who have any gaps in their resume. first of all do you think this is true and if it's true can you ever get back into the development game after being out of it for a while? There also seems to be an age bias in development work. (Side note I have a enough money to live my current lifestyle for a couple of years, including buying my own health insurance)


r/ASPNET • • Jan 31 '11

Checkbox has to be ‘checked’ – with unobtrusive jQuery validation and ASP.NET MVC 3

Thumbnail itmeze.com
7 Upvotes