|
Hi
You have various ways to do you project for your studies
1.Yes you need to have a atleast internet connection to your computer in which you are developing you website just host the website in localhost.
secondly you can use a teamviewer software which help you to connect to your computer which is there in your house and you can see desktop of your computer in your examiner system or laptop but you need to install the software in both systems (in your house and as well as in your examiner systems) when you connect this software it creates a unique session where you can show your home desktop in your examiner laptop and show the project that you have created
Best of luck
|
|
|
|
|
Don't use words like urgent, it is just flat out rude
Gjm wrote: "IS IT POSSIBLE TO DEMONSTRATE THE WORKING OF A SOCIAL NETWORKING SITE LIKE ORKUT AFTER COMPLETING THE CODING AND WITHOUT HOSTING IT?"
Don't shout, that is just as rude. Now, to your question. You don't need to have a webhost for a demo, just use IIS locally.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
The odds of you writing a site like Orkut appear to me to be hovering around zero.
You can host it locally, but, of course, no-one can see it, so it will be hard to prove it works when the point of it will be having a number of users interacting with each other. You sure can't prove your site will work in the sense of being written to handle concurrent users, etc, that way, unless people on a LAN all connect to your machine as a web server for the test.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Gjm wrote: I REPEAT THE QUESTION:
Your explanation the first time was sufficient enough
Gjm wrote: "IS IT POSSIBLE TO DEMONSTRATE THE WORKING OF A SOCIAL NETWORKING SITE LIKE ORKUT AFTER COMPLETING THE CODING AND WITHOUT HOSTING IT?"
Are the receipients of this demonstration fluent in ASP.NET? If so, Visual Studio has a lovely look and feel
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
Introduction to Object-Oriented JavaScript
|
|
|
|
|
That it's "URGENT PLZ?" I would have dropped EVERYTHING
Blog link to be reinstated at a later date.
|
|
|
|
|
Hi,
i'm using drawing.printing in winforms and recently i've implemented it to one of my ASP.NET projects.
on the first look when i ran it on the Webdev.Webserver (created instance by the VS2008) the printing worked great.
when i used it on the IIS, 6 or 7, it stopped with error on user permissions.
after restarting the IIS with the same User as the Webdev.Webserver using, the IE just get stuck with no error exception - just looping until i stop it.
does anyone know how can i work it out ?!?
Thanks in advance,
Amit
AmitCBR
|
|
|
|
|
Hi all,
i have to use ajax in my web application but i havent experience before using of Ajax
can any body suggest me where i have to start and what are the steps of using ajax in web application.
thanks in advance
Best Regards
Rameez
|
|
|
|
|
rameez Raja wrote: can any body suggest me where i have to start
Have you found any good article? If I recall, there are some around here.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
One of the Best Link
Ajax[^]
|
|
|
|
|
Abhijit Jana wrote: One of the Best Link
Ajax[^]
No that's not the best link. It's not AJAX, it is talking about AJAX toolkit developed by Microsoft for ASP.NET applications. AJAX is just javascript and this[^] is a good beginer level tutorial which talks about AJAX.
Don't know why people are thinking AJAX is developed by Microsoft
|
|
|
|
|
Hi Rameez
You can do it by installing a Asp.net Ajax toolkit which is available from microsoft website which is free to download and install if you are using asp.net 2.0 or visual studio 2005 after installing this small utility you will see a new option comes when you select a new web site from a file menu and there you can select AJAX ENABLED WEBSITE.
you will also see some new tools in your toolbox like update panel and script manager just using this two things you can build your website ajax enabled
Happy Coding
|
|
|
|
|
you can also use Javascript XMLHttpRequest Object to access AJAX directly...
use W3School's AJAX Tutorial for your start...
http://www.w3schools.com/Ajax/Default.Asp[^]
Its good way to understand what AJAX exactly is... .and how can one use AJAX to avoid unnecessary postbacks...
Abhishek Sur
|
|
|
|
|
Hi,
Sice every one had given the explaination of installing and guide lines..I thought to give you a link that would basically give you a thorow idea of how to use AJAX Controls.
Here is the demo for live control tool kit.In this they have list all the controls demostrating how it appears and the code you need to use..
http://www.asp.net/ajax/ajaxcontroltoolkit/samples/
Hope it helps,
Thx,
Gayani
|
|
|
|
|
hi guys! briefly, i have an application which use an api for its interaction with another plattform.at this point a need to update my database with data from a call from that api which uses querystring to pass data.Simple and fairky straight foward but couldn't suceeded.and the funniest is it doesn't throw any error. tried for 3 days now to find out where the problem is without any changes.i'm sure it just a little thing but can't see it.i would like to ask for help on this. here is my codes
the page call.aspx that the api use as callback to pass the data is.
<br />
protected void Page_Load(object sender, EventArgs e)<br />
{<br />
gid = Request["Id"];<br />
numbstatus = Request["status"];<br />
if(apimsgid != null && numbstatus != null)<br />
{<br />
gid = gid.Trim();<br />
numbstatus= numbstatus.Trim();<br />
if (gid != "" && numbstatus != "")<br />
{<br />
DatabaseLayer dlayerobj = new DatabaseLayer();<br />
<br />
Response.Write(dlayerobj.UpdateStatusByApiId(gid, numbstatus));<br />
}<br />
}<br />
<br />
}<br />
}<br />
<br />
now the function in the database layer is :
public string UpdateStatusByApiId(string theapiid, string thestatusnum)<br />
{<br />
string status = convertStatus(thestatusnum);<br />
try<br />
{<br />
SqlCommand updatecmd = new SqlCommand();<br />
updatecmd.CommandType = CommandType.Text; <br />
updatecmd.Connection = con;<br />
updatecmd.CommandText = "update TState set DStatus =@stat where Gid=@apid"; <br />
updatecmd.Parameters.Add("@stat", SqlDbType.VarChar, 20).Value = status;<br />
updatecmd.Parameters.Add("@apid", SqlDbType.VarChar, 128).Value = theapiid;<br />
updatecmd.ExecuteNonQuery();<br />
return theapiid + " : " + status;<br />
this also to see if the fucntion receives its param well and it receives it<br />
}<br />
catch (Exception ex)<br />
{<br />
misc.logerr(ex.ToString());<br />
return ex.ToString();<br />
}<br />
<br />
<br />
}<br />
please let me know cause i'm stacked here and can't move forward without this..
ps:can anyone tell me the best practice testing in debugging.i mean by that either using an hyperlink or from address bar
eager to learn
|
|
|
|
|
Hi,
First set a break point where you read the data from the QueryString and see whether it retuns the parsed data. (Note: Just check if the Querystring key you use ie: "Id" and "status" has the same spelling as from where you are parsing from.)
Also another hint is just parse these values manually to the Query and see whether its working..
And when adding the values to the parameter you could simply use
updatecmd.Parameters.AddWithValue("@apid, theapiid); Just some additional infor...
And assigned the value you retrive from ExecuteNonQuery to int variable and check if its greater than 0 before going for the next line...
And others seems to be fine...
Hope it helps..
Thx,
Gayani
|
|
|
|
|
I've decompiled a pre-compiled ASP.NET web site, and on the whole it is looking good, except for three pages. In the compiled site, each page has a reference to the assembly that contains its code behind class, e.g.
<%@ page language="C#" autoeventwireup="true" inherits="Staff.UserList, App_Web_t89rsyw_" %>
where App_Web_t89rsyw is the assembly that the page was compiled to. Now I have three different pages that point to exactly the same class, and it seems to only apply to one of the pages, i.e. only one of them has controls on it that match the code in the decompiled class.
This doesn't look like an attempt at obfuscation, because everything else is glaringly accessible and clear. It looks like maybe the site as I have been given it is broken. Is there any explanation for many pages sharing one code behind class?
|
|
|
|
|
I have a problem with ASP.NET and AJAX. I try to post a form in async postback but when I do this in firefox the newlines are \n and in IE they are \r\n which creates a problem when displaying it on the site. I need to replace every \n which is not preceded by \r but how do I do that? This does not happen in normal postback, then all newlines are \r\n.
command.Parameters.Add("?message", MySqlDbType.VarChar).Value = Regex.Replace(tbMessage.Text.ToString().Trim(), "\n NOT PRECEDED BY \r", "\r\n");
Is there a way to say a character should not be there in a regex pattern? how?
|
|
|
|
|
I've been testing different regex patterns but I can't get it to work properly.
This looked promising: [^\r]\n it matches any character but \r before \n (I think) but the problem is it also replaces that character...
|
|
|
|
|
Hi,all:
Monthes before,Microsoft distributed the first MVC framework preview version,and 2 days before,MS give the the 5th preview version,My project is under VS2008+SP1+MVC framework preview 5
Here is my controller:
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CMS.Models;
using CMS.Views;
using System.Web.Routing;
namespace CMS.Controllers
{
using CMSModel;
[Authorize]
public class CategoryController : Controller
{
private CategoryListDataContext database = new CategoryListDataContext();
CategoryRepository repository;
public CategoryController()
: this(new CategoryRepository(new CategoryListDataContext()))
{
}
public CategoryController(CategoryRepository context)
{
this.repository = context;
}
[HandleError]
public ActionResult Index()
{
ViewData["Title"] = "Category Manager";
ViewData["Message"] = "Category Manager";
var categoryList = from t in database.cms_categories
orderby t.id
select t;
ViewData["Category"] = categoryList;
return View(categoryList.ToList());
}
public ActionResult Edit(int id)
{
CategoryEditViewData viewData = new CategoryEditViewData();
cms_categories category = repository.Categories.SingleOrDefault(c => c.id == id);
if (TempData.ContainsKey("ErrorMessage"))
{
foreach (var item in TempData)
{
ViewData[item.Key] = item.Value;
}
}
ViewData["ParentCategory"] = new SelectList(repository.Categories.ToList(), "id", "name", ViewData["id"] ?? category.id);
ViewData["content"] = category.description;
return View("Edit",viewData);
}
public ActionResult Delete()
{
return View();
}
public ActionResult Publish()
{
return RedirectToAction("Index");
}
public ActionResult UnPublish()
{
return RedirectToAction("Index");
}
}
}
Models:
CategoryRepository.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CMS.Models
{
public class CategoryRepository
{
CategoryListDataContext dataContext = null;
public CategoryRepository()
{
}
public CategoryRepository(CategoryListDataContext dataContext)
{
this.dataContext = dataContext;
}
public virtual IQueryable<cms_categories> Categories
{
get {
return this.dataContext.cms_categories;
}
}
public virtual void SubmitChanges()
{
this.dataContext.SubmitChanges();
}
public virtual void InsertCategoryOnSubmit(cms_categories p)
{
this.dataContext.cms_categories.InsertOnSubmit(p);
}
}
}
and CategoryViewData.cs
using System;
using System.Collections.Generic;
namespace CMS.Models
{
public class CategoryEditViewData
{
public cms_categories Category { get; set; }
public List<cms_categories> ParentCategory { get; set; }
}
public class CategoryNewViewData
{
public List<cms_categories> ParentCategory { get; set; }
}
}
and here is part of the code of the view page for EDIT
]]>
Problem is I can't use ViewData.Model.Category........
So anybody who can tell me what is the problem?
BTW: what does the sambol ?? means?
thanks.........
|
|
|
|
|
plz if u have solution den plz let me know.
thanks
Maniiiiiiiiiiiiiii
|
|
|
|
|
Yeah, just store them as a date data type.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Strings will be automatically formatted to SQL Server Format...
But you can do the standard which is : MMM-dd-yyyy
use toString("MMM-dd-yyyy") to format
Abhishek Sur
|
|
|
|
|
Abhishek sur wrote: But you can do the standard which is : MMM-dd-yyyy
use toString("MMM-dd-yyyy") to format
What do you mean by 'standard' ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi frnds,
I have a window based EXE and i want to run it over Internet..how can i run it ???
see.. basically,
My EXE save some data in SQL Database and now my exe installed on my machine and Databsase is at Remote location....can my EXE be run ??
how can i handle this issue ???
Thankx in advnace
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
This is not an ASP.NET issue. It's a C#/network communication issue.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|