C# - What Is The Most Popular Website Written
Oct 31, 2010
I am trying to justify writing a website in asp.net that has the potential to be as large as wikipedia. Are there any large websites content driven websites that have been written asp.net?
View 1 Replies
Similar Messages:
Mar 4, 2011
Im working with a complete website that was made quite a few years ago, and need to make it functioning with the most recent version of asp. I have no previous experience with asp.net
View 3 Replies
Mar 2, 2010
I want to create a unit testing project for my existing websiet which is written in VB. When I try to add a unit testing , no place I can select c#. It always create in VB. How can i add a c# unit testing project for it?
I am using visual studio professional 2008
View 2 Replies
Jan 3, 2011
I have two examples to show you what I want to achieve here. But to point what's different about my question, Is that I'm having a parametrized URLs and I want to implement URL rewriting to my application. But I don't want to convert the parameter in the URL to be placed between slashes..."page.aspx?number=one" to "pages/one/" << NOT!
First example:
http://localhost:1820/Pages/Default.aspx?page=2&start=5
To
http://localhost:1820/Pages/page2
Second example:
http://localhost:1820/Items/Details.aspx?item=3
To
http://localhost:1820/Items/ItemName
But I'll still need all the parameters in the original URLs
View 2 Replies
Nov 2, 2010
Is there a (free!) software/components that I can use to track how my web site is being used - which pages are most popular, how many times was the site visitied today, yesterday etc...
View 3 Replies
Jan 21, 2011
i have to choose the most popular venueselect max(count(Destination))as popular_venu from bookingthis shows me error.how do i solve this?nothr queriesselect max(count(Departure_time)from bookingwhere Departure_time>12:00:00i got error for both.please help me to sovle
View 5 Replies
Feb 1, 2010
Asp.net, php, jsp What other popular (used alot in production) languages for HTML pages generation are there?
View 4 Replies
Mar 9, 2010
Im Searching for a tutorual to make a list of the most bought products on my e-commerce site. (toplist)
View 2 Replies
Sep 6, 2010
What is the best and easiest-to-use video player for popular video extension in asp.net?
View 1 Replies
Sep 23, 2010
On my content page I have the code (in page_load):
if (Master.pageAction == "remove")
{
int removeProductID = int.Parse(Request.QueryString["ID"]);
int removeOptionID = int.Parse(Request.QueryString["optID"]);
Master.myBasket.removeFromBasket(removeProductID, removeOptionID);
//Response.Redirect("viewBasket.aspx");
}
The function remove from basket is defined as:
// Removes item from a basket
public void removeFromBasket(int itemsID, int optionsID)
{
Page myPage = (Page)HttpContext.Current.Handler;
this.setCookieString("");
myPage.Response.Write("done");
}
And it calls:
// Sets cookie date
public void setCookieString(string cookiesData)
{
Page myPage = (Page)HttpContext.Current.Handler;
HttpCookie basketCookie = new HttpCookie("basket");
basketCookie["items"] = cookiesData;
basketCookie.Expires = DateTime.Now.AddDays(7d);
myPage.Response.Cookies.Add(basketCookie);
}
I use the setcookiestring function on other pages and it works fine, but this function (removing from the basket) isn't setting the cookie! It is writing "done" to the top of the page, so the functions are executing.
No warnings, no errors, it's just not updating the cookie.
View 1 Replies
Aug 6, 2010
I am trying to call a webservice, written in PHP from ASP.Net. I have added Web Reference using "Add Web Reference". The url is: http://mikikard.com/public/webservice?wsdl
In Add Web Reference Window, I can see the list of functions. But, When I try to build the Website, It gives the following Error:
Unable to import binding 'SoaptestBinding' from namespace 'http://mikikard.com/public/webservice'.
View 1 Replies
Jan 24, 2011
We have a site and a logged in section of the site that all was written in classic asp. We are starting to convert the site pages to asp.net 3.5. We are starting with the easiest pages (text mainly) first then we will rewrite the web application part of the site.
My question is - Is it possible to run the new asp.net 3.5 pages with classic asp pages? Or will we need to rewrite everything before deploying?
View 1 Replies
Feb 17, 2010
I am working on a tool which audits access to existing web application. Existing app does not have any hooks in place, but my plan is to inject an IHttpModule by modifying web.config and log whatever I need to log during EndRequest event.
What I'm struggling with right now is: I cannot intercept what is application writing to an output stream. I need to know what output does the application send to the client. Originally, I hoped I could run a code in BeginRequest to replace HttpContext.Response.OutputStream with a stream of my own, which would be flushed to original stream during EndRequest, but the stream only has a get accessor, so I cannot replace it.
I could of course use reflection to assign to private member of HttpContext.
View 2 Replies
Apr 10, 2010
I've a project of a web application that all the code is in vb.net. If I want to put a new page written in C# is that possible ?
View 2 Replies
Jan 4, 2011
public static DataTable GetDataTable(SqlCommand sqlCmd)
{
DataTable tblMyTable = new DataTable();
DataSet myDataSet = new DataSet();
try
{
//1. Create connection
mSqlConnection = new SqlConnection(mStrConnection);
//2. Open connection
mSqlConnection.Open();
mSqlCommand = new SqlCommand();
mSqlCommand = sqlCmd;
//3. Assign Connection
mSqlCommand.Connection = mSqlConnection;
//4. Create/Set DataAdapter
mSqlDataAdapter = new SqlDataAdapter();
mSqlDataAdapter.SelectCommand = mSqlCommand;
//5. Populate DataSet
mSqlDataAdapter.Fill(myDataSet, "DataSet");
tblMyTable = myDataSet.Tables[0];
}
catch (Exception ex)
{
}
finally
{
//6. Clear objects
if ((mSqlDataAdapter != null))
{
mSqlDataAdapter.Dispose();
}
if ((mSqlCommand != null))
{
mSqlCommand.Dispose();
}
if ((mSqlConnection != null))
{
mSqlConnection.Close();
mSqlConnection.Dispose();
}
}
//7. Return DataSet
return tblMyTable;
}
I use the above code to return records from database. The above snippet would run in web application which expected to have around 5000 visitors daily. The records returned reach 20,000 or
over. The returned records are viewed (read-only) in paged GridView.
Would it be better to use DataReader instead of DataTable?
NOTE: two columns in the GridView are hyperlinked.
View 4 Replies
Dec 2, 2010
are i can send trackback through script written in c#. show me the code or way that i can use them to sending a trackback
View 1 Replies
May 25, 2010
My title says it all, I am looking to see if there is any built in class/function that basically takes a number and gives back the number in letters such as 10 to ten.
View 1 Replies
Nov 8, 2010
I have downloaded a AsyncFileUpload example, I edited the uploadError javascript and now it is working perfectly:
[Code]....
It works perfectly how I wanted it, like this: I upload a file, if it's an Image I get the Lime AsyncFileUpload background, and the file name and size are written under the AsyncFileUpload, if it's not an Image, I get the error label shown, with red AsyncFileUpload background, and if I upload another file, it keeps working the same thing every single time, but only shows the last uploaded image name at the end of an image upload, not all of the images.I tried to merge it with my website, and ended with this code:
[Code]....
but in my website its just working the first time only, then rest times I'm getting the uploadError() function working instantly when I click upload, even if i have selected an image or anything else.
View 2 Replies
Apr 30, 2010
im working with an web application where i need to call a java script confirm message like (r u sure u want to proceed) in the text changed event of a text which is present in item template of a grid view.if the answer is yes i want to do some calculations if no then
protected void txtQuandity_TextChanged(object sender, EventArgs e)
{
Page.ClientScript.RegisterStartupScript(this.GetType(), "Test", "Quantity();", true);
}
In java script--
<script type="text/javascript">
function Quantity()
[code]...
View 1 Replies
Sep 14, 2010
how i check the spelling written in text box is correct or not. in c# i am using a file which contains some words. and this file is used to check the spelling written in text box.
View 3 Replies
Sep 7, 2010
i have a multiline textbox. for example when i write to text box something like this," it is an example for my question " i'am getting the textbox.text and save it to databese, but when i get the same value from databese and show it on page it seems like this, "it is an example for my question", without skipping line, consecutive.
how can i save and get from database as written in textbox?
View 3 Replies
Jan 6, 2011
anyone experience with converting a number (eg 524,50€) into
vijfhonderdvierentwintig euro vijftig
or into
vijf twee vier komma vijf nul
.. i need this in dutch version.
View 4 Replies
Jul 23, 2010
I am trying to add a web reference to a webservice that is apparently written in php. The problem is that it is causing the following error:-
Custom tool error: Unable to import WebService/Schema. Cannot find definition for
http://www.agenericservicename.com/ADS:ADSBinding. Service Description with namespace
http://www.agenericservicename.com/ADS is missing.
The developers at the other end are telling me that .net has problems connecting to non-.net services in this way, but I was under the impression that a webservice was a webservice regardless of the technology used to build it.What is going on?
View 5 Replies
Jan 29, 2010
Am using UpdatePanel on a .aspx page with a User Control. This user control is AJAX enabled and is using UpdatePanel and ScriptManager on the aspx side. When I have EnablePartialRendering set to true i.e. <asp:ScriptManager runat="server" id="someId" EnablePartialRendering="true" >
and use ScriptManager.RegisterClientScript to write JSON from server side (C# code) - it is not written to the browser i.e. it shows empty square brackets when I view source in Browser i.e. var SomeVar = [] As soon as I change EnablePartialRendering ="false" and refresh the page JSON starting showing up in the browser i.e. var SomeVar = [{"id","1"}{"id",2}]
View 2 Replies
Aug 28, 2010
If the login code int [URL]we will found that they create cookie as below
new HttpCookie(FormsAuthentication.FormsCookieName, encTicket)
I want in another code to read this cookie and check it .. how can i do although i don't know the name of the cookie ?
View 2 Replies