.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Post New Web Links

Dynamic compilation for ASP.NET Application (Building a "module based" CMS)

Posted By:      Posted Date: October 21, 2010    Points: 0   Category :ASP.Net
 

Hi!

I have asked a simulair question before..but this time its still rather different...atleast i think so..

I will try to state an example..

What if I have built a CMS for instance..and this CMS is "module based" like Drupal, which means that you can download packages, also known as modules, and simply put them in a speicall folder and then the module is installed...

the problem with this in ASP.NET is as far as I know that it whould require the application to get recompiled...

One way od doign this is to simply download then whole page, open it up and visual studio and add the module/package, and then recompile the project..but is there anyway to recompile the project directly on the server?


To put this even more generall...how whould you guys create a module based system that doesnt require the user to download it the whole page to a local machine and then add the module and then recompile it and then put it back up on the server?..any suggestions?


And yeah I know...or well,atleast as I know...this sort of things aint ASP.NETs strength..but still throwing it out there to see if someone has solved it :)


Thanks in advance!




View Complete Post


More Related Resource Links

Data Access: Building a Desktop To-Do Application with NHibernate

  

Building an NHibernate-based desktop application isn't any harder than building a web application, and in many cases NHibernate simplifies elements of session handling and concurrency.

Oren Eini

MSDN Magazine December 2009


.NET Internals: Tailor Your Application by Building a Custom Forms Designer with .NET

  

The design-time architecture of Windows Forms in the .NET Framework has made development much more flexible than it had been with MFC. With Windows Forms, you can drag one of your custom controls from the toolbox and drop it onto the Visual Studio design surface and even though Windows Forms knows nothing about the control, it's able to host it and let you manipulate its properties-not possible in MFC. In this article, the author discusses what's going on under the covers as you design your forms and then walks through the creation of a bare-bones forms designer.

Sayed Y. Hashimi

MSDN Magazine December 2004


What is a good example Dynamic Data application?

  

I'm giving a demonstration of Dynamic Data to a bunch of geeks in two weeks time. I'm looking for a simpe, but comprehensive data model to build the application on. I basically just want to register the model and demonstrate the application, as built (scaffolded) without any customisation, to start with, demonstrating list and detail/edit/insert views, and how table relations are handled.

I'd like to avoid one of the standards, i.e. the Customer->Order-OrderItem models, and try something that would be of interest to geeks. Maybe a Srum project tracker, an or a bug tracker, something like that.

Any suggestions please?


This was originally asked by myself on StackOverflow at: http://stackoverflow.com/questions/3536803/what-is-a-good-example-dynamic-data-application


Automatically set a property value for a new record in a Dynamic Data application.

  

I have a SalesOrderItem table, and it has a UnitPrice column in case the salesperson wishes to override the unit price of the Product for that order item.

In an ASP.NET Dynamic Data application, what would be the best way to set that UnitPrice property on a new SalesOrderItem based on the standard UnitPrice for the product? In other words, when the user clicks New on the 'Items' screen for a sales order, the UnitPrice field should already be filled in with the normal unit price for the product.


This was originally asked by myself on StackOverflow at: http://stackoverflow.com/questions/3538234/automatically-set-a-property-value-for-a-new-record-in-a-dynamic-data-application


Suppose we are building a web-based application to retrieve and enter information into a database.

  
Please help me out with thisSuppose we are building a web-based application to retrieve and enter information into a database.  The user-interface invokes web services.  Which architecture  would use for the application.

Building a rich internet application in asp.net

  
Dear All,Is it possible to develop something like this with asp.net, html and javascript?http://www.gsk.com/annualreview2009/i think this website is developed in flash with actionscript. I dont want to use Silverlight or Flash . what are the other options i have?Thanks

I need a dynamic connection string for my windows forms application.

  

Hello folks

 

I am brand new to forms applications and visual studio 2008 I am building a forms application to connect to a 3rd party's sdf file. There is no password or username required to connect however the 3rd party app installs the sdf in the users folder for me I am on windows 7 but I have clients on xp.

 

I went to add a data connection and chose sql ce file and browsed out to my location and it connects and works. But I need this connection string to be for whoever is logged into there laptops or computers no matter the operating system version xp,vista,7.

 

Data Source=C:\User\username\AppData\Roaming\PS\GES\surve.sdf

 

Can someone tell me how to do that. Also please explain in words a new borne could understand cause like I said I am new to this.

 

Thank you

 


Dynamic compilation of aspx-files stopped working!

  

Hi, 

I recently ran into some strange problems. Changes to files that are not code-behind (and not gets compiled to a DLL) should not require you to recompile the whole website, and this has never been I problem for me. These should actually get compiled dynamically when you first access the resource, e.g. the first time when browsing an updated aspx-page in the browser. 

But yesterday, during development of a website, I noticed that even the smallest changes in html, javascript or anything in the .aspx-files doesn't get reflected when I save and reload the page in my browser. Rebuilding doesn't help either, actually I'll have to do a "Rebuild All" (in Visual Studio 2008) in order to see the changes. This applies to all aspx-files in my project.

I tried with minor changes on files in another web application project on the same server, and there it works as it should. Something must has happened to this particular application, but I cannot figure out what.
Do you have any ideas on how to solve this?

Best regards


Inserting methods in Dynamic Data Application

  

I am trying to build aa hotel management application using Dynamic data. I need to create an event and add methods to calculate applicable room charges based on the duration of stay. For example;

TotalRoomCharge = DurationOfStay*RoomRate

TotalRoomCharge, DurationOfStay and RoomRate are all columns in my database table.

I have already generated the dynamic data site in my application.


Change Default Sort for Dynamic Data Web Application

  

Hi,

 

I just created a dynamic data web application and setup a simple .EDMX file. Next, I created meta-data / partial classes to ensure that my integer identifiers wouldn't show up:

 
// ...

[ScaffoldColumn(false)]

public object TableId { get; set; }

 // ...
 

I wanted to now set the up the list pages so they sort using a different attribute ("Name" in this case). Anyone know if this is possible / how to do it?

 

Thanks!

 

Kevin

 


Building Mobile Web Application For Live Maps

  

Hello Everyone,

                        I am planning to build an Mobile Web Application for showing live maps (tracking). I already have an Web Application created which has database  that gets updated on the go, receiving data from GPS devices. So the GPS device gets tracked LIVE! This information is shown using Open Source Street Maps & Silverlight & ASP.NET.

The features that i would require for my mobile web app is:

1. Showing live location of a GPS device (I already have the database). Also show the moving path of the device.

2. Providing login functionality.(Connected to the database that i already have)

3. Store user prefferences like username, password, selected location etc.


Can any one give me a lead as to how i should go about this. I have to make sure that my application is compatible with maximum possible mobile devices. Do you think that ASP.NET is the best platfrom to build this WebSite, cause i am even open to other platforms?


Thanks in advance


Bing Map Apps: Building a Real-Time Transit Application Using the Bing Map App SDK

  

Learn how to use the free Bing Map App SDK as we walk you through the creation of a real-time transit application for bus routes in King County and show you how to submit apps to the Bing Map site.

Luan Nguyen

MSDN Magazine October 2010


How to make Dynamic button permament to form though application restarts in vb.net

  

Hi all,

I am making an application in which i am trying to make buttons on run time and on every dynamic button click  i have open different files.

I am able to do that.

but problem arises, when my application restarts...

i want to make those dynamic button permanent to the form(even if my application restarts).

 

Kindy if anybody have a simple timy code to perform it.... then please send it to me as i want this to be done on urgent basis for my final year project..

Thanks and Regards;

Nikhil Mahotra


New to asp.net looking for advice on building application framework for database web app

  

Hi everybody, I am looking to build a web application from the ground up. I have done a bit of research, however I just thought I would post here to see what kind of responses I get. Any input is greatly appreciated! I will give a brief description of the type of application I am trying to build.

It will be a database web app for managing clients and financials of those clients.

The application will need a secure log on system for approximately 160 end users, with the ability to change permissions for each user given their individual rights.

Depending on the type of user created they will have access to 1 of 7 unique application modules within the app framework.

A data dictionary will be designed and created prior to starting the project as the 7 unique application modules will have common database fields and custom relationships.

Based on this information, what asp.net tools, libraries or books would you recommend using? Thanks in advance!





Creating Custom Page in Dynamic Data Application

  

To create a custom page I copied the List.Ascx file from the Page templates to DynamicData\CustomPage\"MytableName"

I keep getting the follwing errors mainly in list.aspx.designer

"The type 'L2SDynamicData.List' already contains a definition for GridView1"

"The type 'L2SDynamicData.List' already contains a definition for table1"

"The type 'L2SDynamicData.List' already contains a definition for HeadContent"

"The type 'L2SDynamicData.List' already contains a definition for DynamicDataManager1"

"The type 'L2SDynamicData.List' already contains a definition for UpdatePanel1"

 

There are about 32 of these error types

 

 


build error on 'Building a Contact Management ASP.NET MVC Application (C#)'

  

I downloaded the code of http://www.asp.net/mvc/tutorials/iteration-7-add-ajax-functionality-cs

and I am gettin the below error on the below cs class;


Error 1 'System.Web.Mvc.MvcHtmlString' does not contain a definition for 'Replace' and no extension method 'Replace' accepting a first argument of type 'System.Web.Mvc.MvcHtmlString' could be found (are you missing a using directive or an assembly reference?)

Error 1 'System.Web.Mvc.MvcHtmlString' does not contain a definition for 'Replace' and no extension method 'Replace' accepting a first argument of type 'System.Web.Mvc.MvcHtmlString' could be found (are you missing a using directive or an assembly reference?) C:\Users\Toshiba\Videos\New\.Net Stuff\Desktop\Building a Contact Management ASP.NET MVC Application (C#) - add ajax\ContactManager_7_CS\ContactManager\ContactManager\Hel

Creating Custom Page in Dynamic Data Application

  

To create a custom page I copied the List.Ascx file from the Page templates to DynamicData\CustomPage\"MytableName"

I keep getting the follwing errors mainly in list.aspx.designer

"The type 'L2SDynamicData.List' already contains a definition for GridView1"

"The type 'L2SDynamicData.List' already contains a definition for table1"

"The type 'L2SDynamicData.List' already contains a definition for HeadContent"

"The type 'L2SDynamicData.List' already contains a definition for DynamicDataManager1"

"The type 'L2SDynamicData.List' already contains a definition for UpdatePanel1"

 

There are about 32 of these error types

 

 


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend