ADO.NET :: Is CTP4 Good Enough To Be Used In Production Code
Aug 25, 2010Can we use CTP4 in production code?
When will it be included in .net framework 4.0?
Can we use CTP4 in production code?
When will it be included in .net framework 4.0?
i know MVC is the future but for some of us still stuck in the good old webform land, i'm trying to learn how to do TDD and introduce better testing for our current application...
basically the asp.net 2.0 c# web app is quite complicated with some logic in sproc, some in the javascript via json data processing, some in user controls and some in the code behind. not to mention some libraries here and there to make it merrier. i have literally no idea how to even begin to break things down to smaller chunks to do any testing.
Im getting this error message
[Code]....
global Application_start
[Code]....
Does anyone knows if CTP 4.0 supports table with no primary key. I know Entity framework does.
View 3 Repliesdo u also any good code projects for developing inbox functionality.
just that users could communicate with each other It does not need to as high level using System.net.mail
Just when the user clicks on Inbox shuld fetch data from db. and send and save to draft, navigation, querystrings, grid view did my own but just want to see other examples.
I am an experienced developer but I am new to web application development. Now I am in charge of developing a new web application and I could really use some input from experienced web developers out there.
I'd like to understand exactly what experienced web developers do in the code-behind pages. At first I thought it was best to have a rule that all the database access and business logic should be performed in classes external to the code-behind pages. My thought was that only logic necessary for the web form would be performed in the code-behind. I still think that all the business logic should be performed in other classes but I'm beginning to think it would be alright if the code-behind had access to the database to query it directly rather than having to call other classes to receive a dataset or collection back.
I am using asp.net
In my .cs page I am setting a value for a variable [count = 12]. count is a var, which I have declared on the aspx page.
Now I have to change the vlaue of the count = 13. which should be written in the !IspostBack event in the Page_Load(). But the issue is this that it's a very small change and I can't re deploy my website for this small change.
Is their any way I can modify the code in the production site whitout re deploying it?
I have an application that runs perfectly fine on my local machine. So it was deployed on production server and the site was running (but with some errors). So I corrected the errors and redeployed the application. But the changes are not reflecting! I am using the IIS to host the same. I tried restarting all the services, the IIS itself, the server, cleared the caches...
View 1 RepliesI am developing 2 Applications. One WebForms and the other is MVC. How can i secure the code such that when i deploy them to the clients production environment, they cannot be simply picked up, copied and repackaged by someone else?. I simply need a way to protect my intellectual property. Can this be done in Visual Studio 2010?
View 1 RepliesI am dynamically generating script code to return transaction data to Google Analytics using their ecommerce script. The code that generates the script is fully tested and functional on my development machine and when I view the page code the script, along with any values that were passed to it, can be seen above the </form> tag. Happy days, or so I thought. For some reason the code is not being generated when I test it in a live, hosted environment. I cant figure out why this is the case as the code is quite simple. I simply generate the script code and register it on the client side (see code below)
//Capture the transaction data for analytics ecommerce tracking
//Generate the necessary script code
string strAnalyticsEcommerceScript = Analytics_Ecommerce_Script_Creator();
//Register the script on the page
Page.ClientScript.RegisterStartupScript(this.GetType(), "AnalyticsScript", strAnalyticsEcommerceScript);
The page in question is called "Order-Successfull" and is where customers are sent to when they have succesfully payed for an order. On this page:
-The order is added to the orders database table
- The customer is emailed an order confirmation email
- The google analytics script is generated and registered
The Sequence is as follows:
[Code]....
Whats really interesting is that if I move the Analytics script creator code before the code that sends the emails, the script is generated and can be seen when I view the page code. If I do this, however, the emails do not get sent. If I lay the code out as per the code I have inserted in this post, the emails get sent but the script code is not placed on the page.. The code to that actually sends the emails is quite standard:
[Code]....
I just want to have good idea about Versioning problem! and how .net recovered from that? Can i have some depth info in the same!?
View 1 RepliesWhich detect location most accurate.
View 4 Repliesinstead of using gridview to insert student marks (I have hundreds of students) thought I used the Excel:
1) allow managers of each module after authentication to download the excel file (containing the students enrolled in the given module), the excel file ted is generated by the following code: Id_student ____ maks of subject1 -------- ----maks of subject2
[Code]....
But in this code I do not know how to:
* Add the following condition: the student'marks is between 0 and 20.
* Calculate the average of this module : sum (coeff * mark) / sum (coeff)
2) Allowing responsable module send me the file containing the data (but then I do not know how)
3) Using data, by sending them to the database to calculate averages.
Is there any good CMS for ASP.NET like drupal, joomla ?
View 2 RepliesI looked at Google's, but my boss shot it down because it involves adding a script to every page you want to track. I keep searching the web, but the stuff I am finding seems to be crap or not work all together. This is mainly for internal sites, not external. Seems liek a lot of the stuff I am finding want to give me remote statistics to a publically available site.
View 3 RepliesI work for a small E-Commerce shop and we are looking for a process that will handle resizing our product images dynamically. Currently our designers take high resolution photos, either provided by the manufactures or created in house, and alter them to fit various pages on our site. The designers are constantly resizing, cropping, altering compression levels, etc., of each product photo to fit the needs of the business. Being that our product line is updated frequently, this becomes a monotonous task.
Abobe Scene7 does exactly what we are looking to do and the images are served up from a CDN. Unfortunately we found it to be too expensive.
I'm curious to learn how others handle this process at their organizations. Does anyone know of any good 3rd party tools or other SAAS providers that can handle performing some basic image manipulation and serving them on the fly?
I've followed the standard example of in
http://www.asp.net/ajax/ajaxcontroltoolkit/samples/autocomplete/autocomplete.aspx which demonstrates using AutoCompleteExtender. Everything works fine but the auto-complete appears with about 20 pixel distance below the bottom of its target control. I mean they are not glued to each other as they should be. I've not changed anything and also I've not applied any special styling using CSS or anything else. why this ugly distance is formed while the control is rendered.
I'm currently using the fantastic DorkNozzle 'framework' for building a very basic blog in .NET.My first "self-taught" script is as follows, and is for solely retrieving SQL results.
PHP Code:
<%@ Page Language="C#" MasterPageFile="~/Dorknozzle.master" AutoEventWireup="true" Title="Blog" %>
<%@ Import Namespace = "System.Data.SqlClient" %>
<script runat="server">[code]....
I should change to perhaps improve my coding style, without going down the MVC line just yet?
My boss has it in his head that we need to be monitoring our websites more to see what king of traffic we are getting for but internal and external sites.
View 2 RepliesI want to learn ASP.NET 4 and C# from scratch to intermediate at least. I want to follow videos. Do you know any good website even if it is paid, I have found this[URL] but I am not sure about it,
View 4 RepliesOur company now has over 40 tutorial videos and I'm looking for a video gallery app.
Something that would be similar to:[URL]
or
[URL]
Does anyone know of any PHP or asp.net solutions? I'd rather not re-invent the wheel. As there are a ton of hidden functions like sorting, most popular, tagging, comments, etc.
I have a String that contains the following: ?workarea=London+&+Home+Counties+Ltd&sub=fs&&&FASh*5which resembles a URI query string. What is the best way to parse the elements of this string (workarea and sub) without messing about with string manipulation?If I use HttpUtility.ParseQueryString is gets stuck as both elements include &. However if I encode the whole thing first I lose the seperations of the elements. Ideally the output would be:workarea = London & Home Counties Ltdsub = fs&&&FASh*5
View 4 RepliesI am recently a layed off windows developer. It appears the only jobs available now are for web developers. I'm trying to learn this on my own but I think prospective employers might be more apt to hire a newbie if they have some accredited training.
Can anyone recommend some good online schools that have good asp.net training? I don't necessarily want another degree, just the training.
I am having a lot of trouble with WCF web service over SSL / HTTPS, so I was wondering if (as a quick fix) I could serialize the object, convert that to a byte array, encrypt the array, pass the encrypted array.
On the other side receive the encrypted array, decrypt the array, convert from the array and then deserialize the object.
I'm completely new in web service. I want to study about it and the use it in my web site?
View 4 Replies