Web Forms :: .Net 3.5 Site Using C#, With No Database Backend?
Apr 13, 2010
I think I already know the answer to this but I think you know more than me so best to ask :)I've got a basic .Net 3.5 site using C#, with no database backend.I've had a request for a function to be added to some forms for people to be able to save the forms and come back later to finish them off.Is this possible?I would think not without a database backend to save it too,
View 3 Replies
Similar Messages:
Feb 11, 2010
I want to start creating sites with simple backends! I don't know much about databases though and I don't want to jump straight into creating sites with databases anyway. So I want to find out what the best way of creating a simple backend without using a database is.
I have an asp.net webpage which is a prices page detailing the prices of services at a hair salon. The prices change every 6 months so I want to give the client a simple backend so he can update the prices himself. The backend will just be a table of inputs populated with the current prices which can be changed and then click 'save changes' to update the site.
Now what is the best way of implementing this?
A) In the prices page, hard code an html table, within each cell code a <span> tag with an id for the price that will go within the span tag like id="menscut" and within the span tag hard code the price of the service. Then wirte a C# class called 'edit' that is used when the 'save changes' button is clicked on the backend page. When 'save changes' is clicked the 'edit' class parses the prices.aspx page and finds <span id="menscut">£20</span> and then changes it to <span id="menscut">£22</span> (or what ever new price has been entered in the backend) and then saves the new edited prices.aspx page over the old one on the server.
or
B) Don't hard code prices into the prices.aspx but instead store the prices in a seperate .txt or .xml file. Every time the prices.aspx page loads it runs a class called 'populate' which extracts the prices from the .txt file or .xml file and inserts them into the table in the prices.aspx page. And now the edit class instead of editing the prices.aspx page it edits the .txt or .xml file.
So which of those ways is better, or if they are fairly even pegged what are the pros and cons of each?
Or are there any other options I haven't thought of?
View 3 Replies
Sep 15, 2010
if there is any easier way to synchronize the TypedDataSets with the chages made to backend Table / Stored Procedure schema. I use Typed DataSets in my project extensively and I found them very useful and easier to code, but difficult to maintain
The difficuly I have always faced is whenever there is a change in a backend database table structure or stored procedure that is linked to any of the Typed DataSet in our project requires to recreate whole DataSet again by scrapping the old one. The backend changes will not be reflected unless and untill you recreate the whole stuff again.
Is there any easier way to synchronize those typed datasets with the changes made to backend database schema or any other workaround that will not required to recreate the whole DataSet again.
View 2 Replies
Jun 15, 2010
I am working at a site not orginally devleoped by me. The problem is that all the pages are working fine and have no problem at my local site. but the site is not showing any content at live site from database. Niether it shows an error for it. How can I find the problem?
View 7 Replies
Apr 21, 2010
How can i create a javascript confirmation box and return the value to use in the VB.net backend code?
View 7 Replies
Sep 22, 2010
I am using ListView to display the Data.
I am getting some text or empty string from backend for a particular column.
If i got empty string i need to bind with an imageButton in that row.
and if i got a text i need to replace the imagebutton with text.
[Code]....
View 1 Replies
Apr 18, 2010
I want to have site.sitemap file that is build runtime from my sql database.
View 2 Replies
Mar 19, 2013
How to develop side with 20 different local language in india using sql database. the content are coming from database only. and when i select the language from dropdown it should convert this database text to appropriate language.
View 1 Replies
Aug 12, 2010
I have some applications which I need to documentate. Is there any tool which could create UML or visio from my vb.net code?
View 3 Replies
Mar 2, 2010
While the economy has been in the shitter, I've written possibly the most coolest site EVER for unemployed developers looking to buzzword-ify their resumes. (Don't hate the player, hate the game.)
The only problem is, it needs a scheduled task to run once a day to do some data mining. I spent many, many hours a few months ago researching solutions, but nothing seemed sure-fire.
If I have shared hosting and cannot remote in (e.g. mstsc and create a Schedule Task), how can I create a task that will run once a day on the backend of an ASP.NET website?
After all the research I did, I don't think it's possible. Per my last analysis, someone has to visit the site at least once a day to instantiate an instance of HttpApplication.
Does anyone have any solution to making sure an operation runs automatically, no matter whether anyone visits the site, and without anything but FTP access to the website?
Like I said, I've done A LOT of looking into this in the past, and it didn't seem possible. IF YOU HAVE EXPERIENCE implementing a solution, contribute your advice! But not postulating or conjecturing needed--it's far more nuanced and difficult than you're surely imagining.
View 5 Replies
Apr 23, 2010
I have a short snippet of C# code like this:
HtmlGenericControl titleH3 = new HtmlGenericControl("h3");
titleH3.Attributes.Add("class", "accordion");
HtmlAnchor titleAnchor = new HtmlAnchor();
titleAnchor.HRef = "#";
titleAnchor.InnerText = "Foo Bar";
titleH3.Controls.Add(titleAnchor);
What I want is a way to return a string that looks like this:
<h3 class="accordion"><a href="#">Foo Bar</a></h3>
View 2 Replies
Aug 7, 2013
How to do something like this without actually downloading the spreadsheet to the local machine? Any tools or what not out in the world for doing something like this? Does sharepoint allow for .xlsx editing in a page?
Anything short of writing all the inputs and mapping them with backend code?
View 5 Replies
Dec 22, 2010
at our office we take daily backup of ASP.net application ms access backend for the next few days we need to evaluate the changes made to records in the database tables at the end of each day i want to compare 2 access databases first database is the backup of yesterday and second database is the backup of today i thought of the following algorithm, how to proceed to compare the datatables / gridviews
i need to display th rows / cells containing the differences / updates / deleted data
[code]....
View 1 Replies
Jul 29, 2010
I'm constructing a new cms with the option to create reviews and articles (blog items). Now if the user wants to write a review he/ she will want to add a lot of images in the text. Now my question to you is , what would be the best option to include those images (with keeping in mind that a CDN can be used later). I was thinking of the following methods:
Break an article in multiple blocks, each block can then include a picture and text. Just add the picture in the text via WYSIWYG editor (easiest option but not so versatile) Upload images separately and include them via tags in article text. Like Title{img_1}Content
View 2 Replies
Feb 26, 2010
A friend suggested instead of having a backend class which verifies the user permission in every public function (results are cached and non static) i should have a more 'streamlined' site. When i dropped the backend i also drop the database code and merged them in the appropriate user permission (base user, logged_in_user, moderator).
The site code looks better now that merging them has decreased LOC (tons of LOC in fact) and i write Method() instead of backend.Method() which increases readability. However now that i have no backend how am i suppose to unit test my code? and what about things like user file upload with different extensions? (txt vs jpg vs FLAC)
View 4 Replies
Oct 19, 2010
experienced pros on the best way of doing something.First let me give you the broad view of everything.I have a main site (http://www.ffinfo.com/) which is built completely in ASP.Net using C# 4 and has a SQL 2008 backend and then I have an CMS I am custom building to administer the site.At some point I hope to have more people playing the Final Fantasy games and helping me collect data to add to the site so I am using the CMS to both add/modify data in the SQL DB and genereate new pages on the main site as needed.I want to compile the main site so it runs faster as my server has limited resorces and after a reboot or upload of new pages it takes a little bit for the first visit to run.Now here is the problem.
When I use the CMS to make a new page I currently copy over a .asp and .aspx file from a template into the appropreate folder and am good but if I want to compile that page along with any other new pages made I have to scower my FTP for them, download to the local machine,build and publish.This will very quickly become a lot of work,not to mention I can not really take advantage of OOP.
So my question is this, how do I go about doing this better? Have I taken the wrong approce from the start and need to find another road or is the road I am ok I just need to improve my transportation?
View 4 Replies
Oct 28, 2015
I'm trying to make a client-server app using SOAP. The communication btw the client and gateway will be done using SOAP messging. I was wondering if it's possible for the gateway to communicate with my backend servers using SOAP as well(blue lines)? will I need to create a second interface/port for the gateway and servers so they can communicate. or is there an easier way to do it bust still using SOAP
View 2 Replies
Jun 12, 2010
My ASP.NET MVC web app has a weird issue. In VS debugging mode it works as expected, but when I publish it to dedicated web server (windows 2003, IIS6) a sql query returns previous data even though underlying data was already updated through the same connection. It looks like as if a query returns cached data. What might be the problem?
View 2 Replies
Mar 1, 2011
Does anyone know how to convert backend data to a json response using .NET technologies? It'd be nice to have this and use jquery to call some information on the backend.
View 1 Replies
Dec 22, 2010
I am a .NET / C# back end guy. I am working on a app that will have about 200 different data entry screens. For me exposing DTO as a collection for CRUD (IUpdatable and IQueryable) is the easy part, I can do it in my sleep :-). What I am trying to decide is what type of front end technology will allow me to develop these data entry screens fast. They don't have to be fancy but they are not just plain grid either and on average they have about 15 form fields and some client side data validation (no db look up) Options I am looking at are
Use ExtJS on the front and REST / JSON on the back. ASP.NET RIA but I do not know SL (Well XAML) Plain ASP.NET / MVC One idea I had was the DTO will contain the meta data about the form (As Attributes) and the form can be dynamically generated, but I do not want to reinvent the wheel if there is an easier way. I have looked at RAD software but all of them look at the DB and generate screens. I'd rather want something that can look at my DTO and generate screens.
View 3 Replies
Sep 19, 2010
I was searching for my problem for last couple of days. But coudn't find a better solution. So here I go again. What I did which worked great: I was going to a asp page with pre populated Dataset (dataset is already loaded with data), for a GridView. If I do the following .... the GridView shows all the data (with the fields Dataset comes with).
[Code]....
Now what I am trying to do: I am trying to do exact same thing but instead of using GridView, I would like to display data in a FormView. So now I tried to do this
[Code]....
PROBLEM: I can see the FormView Header with text "Test Dataset With FormView" and below the Header it displays the page numbers. I know that I have 3 data in the data set and I can see 3 page link in the FormView. But PROBLEM is it doesn't display any Field / Data. Not sure why it is doing this
Note that I wouldn't know what field to display in the FormView. Whatever I have in the Dataset I need to display. Is there any work around to accomlish my work (maybe by not using a FormView, but other conrol ?). My original goal is to Display Data in a Form View Format (One data at a time
View 2 Replies
Feb 13, 2010
We are building an extranet loan status check website using ASP.NET MVC with a WCF backend. Its a pretty standard design with the MVC site using a WCF service reference to get customer objects. The ervice uses an Oracle backend + http binding, and won't be hosted on the same server as the MVC site (so we can't use tcp binding to reduce latency).
The problem we encountered is that every call to the service is resulting in a 7-8s response time which is unacceptable for an extranet site and much higher than the 2s magic mark. The service method(s) call 12 stored procedures to create the customer object. The database is, unfortunately, denormalized (we can't change it as its also used by other inhouse production systems) so most of the calls are basic select statements which populate the customer object and its associated objects. The service proxy is properly opened and closed/disposed in the MVC actions so there are no instances of any service connection leaks. A new client proxy is created for every request (i.e., we are not using the singleton pattern for the service). how we can speed this up ?
View 2 Replies
Feb 13, 2011
For example I need to create middle size internet shop with public frontend and private backend. No silverlight, only html
Is there any sense to use wcf?
If yes, what benefits I will get with wcf?
View 2 Replies
May 16, 2010
i want to change news item along with photo gallery images on my asp.net page daily without using database is there any other way to do that other than using databse How can i do that
View 2 Replies
Nov 22, 2010
I have a very simple app on my local machine that uses the ASP.NET membership provider. This works fine on my local machine.I have published the app to our web server, and I need to know the specifics of setting up the application for asp.net membership to work.I have a basic understanding that it uses an MDF file and somehow connects to a SQL database (SQLEXPRESS I assume on my local machine) which holds the user/role information.
View 1 Replies