r/ASPNET • • Jan 15 '12

I need a good recommendation for ASPNET (preferably MVC) blog/cms software

4 Upvotes

I have a WordPress blog and I am just tired of fighting with PHP dev environment + syntax to do simple development work for it. I'd like to replace it all with a C# engine. Can anyone recommend a good starting point? I have done some research but short of installing and trying each one I can't decide how to start. I really just want the simple blog functionality (HTML editing/photo upload/etc) and I will extend it myself as needed. I'd love to hear any success/horror stories about working with the current open source options. Also, I will be starting from scratch so I don't need to migrate any content from WordPress.

Thanks!


r/ASPNET • • Jan 12 '12

An approach to mobile support in ASP.NET MVC

Thumbnail
jclaes.blogspot.com
4 Upvotes

r/ASPNET • • Dec 18 '11

Help with booking system

4 Upvotes

Hi. :)

I'm trying to create a simple booking system for a small company where users can book rooms. I already have a MySQL database and I'm looking for the best and easiest way to create the booking system. I tried a bunch of different frameworks and free booking systems but couldn't get them to work with my database. Does any of you know a good tutorial or where I should start?


r/ASPNET • • Nov 21 '11

A Breakdown of Document Paths for Web Application Development (x-post webdev)

Thumbnail
reddit.com
4 Upvotes

r/ASPNET • • Jul 26 '11

Getting Started with the AmplifyJS NuGet Package in Visual Studio

Thumbnail elijahmanor.com
4 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 03 '11

Need help with rendering table in multiview control

4 Upvotes

hey everyone,

so this is gonna be a long post, so please bear with me. I'm working on a school project where my group & I are building a calendar web app for an organization using ASP.NET & C#. All of us were new to this framework going into the project, but we've all learned a lot so far.

I've been tasked with implementing tabs in one of our pages (specifically, an administrative page where admins can approve, disapprove, and edit user-submitted dates for the calendar as well as choose a theme for each month). In order to implement the tabs, I think using the UpdatePanel & MultiView web controls are the way to go. At the moment, I have multiple View controls nested within the MultiView control, which is nested inside the ContentTemplate tag, which is finally nested within the UpdatePanel control. So starting from the inside heading towards the outmost controls: View -> MultiView -> ContentTemplate -> UpdatePanel.

Now, I've seen plenty of examples where you have different kinds of content within individual View controls; most are just text or another ASP.NET control (e.g. a Button). However, I need the aforementioned table to show up in one of the tabs. the problem is that the table is created in a method that is only ever called within the Page_Load function/method (which is only triggered when a page loads). So the table is loading once, and never again.

Furthermore, I didn't write all the code-behind stuff or HTML, but I did see a DIV element labeled "TableDiv", and I thought that by moving this DIV within the first View control, the Table might render only when that View is active. Unfortunately, it didn't do anything

Maybe I should call the individual method that creates the table using the individual View? I'm not sure....I've been at this for a while, so any help would be greatly appreciated!

thanks,

--Jonathan

EDIT: Also, if you notice I'm wrong in my understanding of ASP.NET/C#, please point it out to me. I'm still a newbie to this framework, so I know I still have a lot to learn...thanks.


r/ASPNET • • Jan 06 '11

/r/aspnet, where do you look for freelance work?

4 Upvotes

I'm trying to break into the freelance game by doing some moonlighting, but I'm having trouble finding work. It seems there is a ton of PHP work out there, which I could get back into if necessary, but I'm more comfortable with .NET. Also, it seems many of the popular sites (elance) are swarmed with people willing to accept petty cash.

So, are there any goldmines that I'm unaware of, or just tips on how to pick up work?


r/ASPNET • • Jan 06 '11

Has anyone seen a GOOD way to share master pages across multiple ASP.NET web applications with a singe deployment?

4 Upvotes

I have seen many ways to share master pages:

1 - using virtual directories

2 - create a custom VirtualDirectoryPathProviders

3 - embedding the master page as a resource

All of them have some serious disadvantages:

1 - your virtual directory cannot be a web application, itself. Booo. A good way around this?

2 - If you have multiple web applications, you still have to deploy each application to get the shared master page

3 - This one is, by far, the worst (pain in the arse to debug and maintain in VS2010 and TFS). Also, see #2.

Am I really just going to have to install it in the GAC? So far, that's what I perceive as the best way. That way I can have singular deployment (copy <NAME>.master and install assembly in GAC) and there is no hard-to-trace dynamic master page compiling (it's still dynamic compilation, but it's easier to trace).


r/ASPNET • • Jun 30 '10

ASP.NET MVC2 and nullable fields are driving me insane

4 Upvotes

Hey, who wants a .NET (ASP.NET MVC2) question that no one in the fucking world seems to know the answer to?

Here it is:

The thing is, I want to pass an object (a LinqToSQL entity to be precise) to my View, allow the user to add some properties, and then post it back to save it.

My object, called Probation, has a few properties (id, forpost, forcomment, user, starting, hours) and some related entity references. The forpost and forcomment entities are nullable as a user can be probated for making an offensive post or an offensive comment. Please mind that forpost refers to an Idea entity, I don't know what I was thinking calling it a post.

So here's my controller logic:

    [Authorize(Roles = "Admin, Moderator")]
public ActionResult ProbateUser(int? post, int? comment)
{
    if (post != null)
    {
        Idea idea = irep.GetIdea(post ?? 0);
        Probation probation = new Probation
        {
            user = (Guid)idea.user,
            Idea = idea
        };
        return View(probation);
    }
    if (comment != null)
    {
        Comment rcomment = crep.GetComment(comment ?? 0);
        Probation probation = new Probation
        {
            user = rcomment.user,
            Comment = rcomment
        };
        return View(probation);
    }

[AcceptVerbs(HttpVerbs.Post)]
[Authorize]
public ActionResult ProbateUser(Probation probation, FormCollection values)
{           
    try
    {
        probation.starting = DateTime.Now;
        rep.ProbateUser(probation);
        rep.Save();
        return RedirectToAction("Index");
    }
    catch
    {
        return View("NotFound");
    }
}

}

And here's the view, using hidden fields to store the preset values:

code: <fieldset> <legend>Fields</legend> <%: Html.Hidden("Idea", Model.Idea)%> <%: Html.Hidden("Comment", Model.Comment)%> <%: Html.Hidden("user", Model.user) %> <div class="editor-label"> <%: Html.LabelFor(model => model.reason) %> </div> <div class="editor-field"> <%: Html.TextAreaFor(model => model.reason) %> <%: Html.ValidationMessageFor(model => model.reason) %> </div>

    <div class="editor-label">
        <%: Html.LabelFor(model => model.hours) %>
    </div>
    <div class="editor-field">
        <%: Html.TextBoxFor(model => model.hours) %>
        <%: Html.ValidationMessageFor(model => model.hours) %>
    </div>

    <p>
        <input type="submit" value="Create" />
    </p>
</fieldset>

Now my problem is, once the Probation object is posted back, the nullable fields forcomment and forpost are always null!

So to summarize: what is the correct way of passing objects with nullable properties from Controller->View->Controller? If the official answer "just don't pass nullable values, no big deal", I swear I'm gonna pop a vein.


r/ASPNET • • Mar 03 '10

Bite CMS - an open source Microsoft .NET Content Management System

Thumbnail
bitecms.com
4 Upvotes

r/ASPNET • • Sep 18 '09

xVal v1.0 Now Available

Thumbnail blog.codeville.net
4 Upvotes

r/ASPNET • • Sep 18 '09

ASP.NET AJAX Add-ons (FireAtlas & FireCookie) for Firefox's Firebug

Thumbnail elijahmanor.com
4 Upvotes

r/ASPNET • • Jun 08 '09

XVal validation framework. Can generate client-side and server-side validation with ASP.NET MVC.

Thumbnail xval.codeplex.com
4 Upvotes

r/ASPNET • • Mar 14 '09

Creating LINQToTwitter library using LinqExtender

Thumbnail weblogs.asp.net
4 Upvotes

r/ASPNET • • Oct 28 '08

ASP.NET 4.0 Roadmap | pdc2008 | Channel 9

Thumbnail
channel9.msdn.com
4 Upvotes

r/ASPNET • • Oct 27 '08

Building jQuery and ASP.Net AJAX Enabled Controls, The jQueryCollapsiblePanelExtender Part 2 Server Control

Thumbnail mosesofegypt.net
4 Upvotes

r/ASPNET • • Oct 27 '08

Episode 23: Phil Haack on the ASP.NET MVC Beta Release (part 1)

Thumbnail
herdingcode.com
4 Upvotes

r/ASPNET • • Oct 26 '08

Building jQuery and ASP.Net AJAX Enabled Controls, The jQueryCollapsiblePanelExtender Part 1 Client Control

Thumbnail mosesofegypt.net
4 Upvotes

r/ASPNET • • Oct 25 '08

ASP.NET MVC Storefront Part 23: WebForms and Dynamic Data

Thumbnail blog.wekeroad.com
4 Upvotes

r/ASPNET • • Oct 24 '08

Checkbox Parser and Bug Fix for jQuery TableSorter Plugin

Thumbnail beckelman.net
4 Upvotes

r/ASPNET • • Oct 21 '08

CarTrackr - Sample ASP.NET MVC application

Thumbnail blog.maartenballiauw.be
4 Upvotes

r/ASPNET • • Oct 20 '08

ASP.NET MVC Is My Shrieking Electric Guitar

Thumbnail
codingthewheel.com
4 Upvotes

r/ASPNET • • Oct 19 '08

Speeding up ASP.NET with the Runtime Page Optimizer

Thumbnail
james.newtonking.com
4 Upvotes

r/ASPNET • • Oct 18 '08

Adding advanced validation to an existing ASP.NET application

Thumbnail
aggiorno.com
4 Upvotes