Thursday, March 29, 2012
Performance Testing...
Now I am developing C#.net Web Application. It is almost completed. Now I
want to check performance testing of it. I want...
1) Create 100 user environments, mean 100 users simultaneously request a
same page I want to see response time and load on server.
2) As per my idea we can use test project it has web base test and load test
inbuilt in Microsoft visual studio Whidbey.
Any one has idea about Load test in Microsoft visual studio Whidbey?
BYE.
Samir (Software Developer, Ahmedabad, INDIA).The tool is called Application Center Test and it ships with Visual Studio
.NET Enterprise Architect (2003). With Whidbey (2005), you need to look at
the Team tools (beta 1 refresh or the earlier Community Technical Previews).
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***************************
Think Outside the Box!
***************************
"Samir Patel" wrote:
> Hi,
> Now I am developing C#.net Web Application. It is almost completed. Now I
> want to check performance testing of it. I want...
>
> 1) Create 100 user environments, mean 100 users simultaneously request a
> same page I want to see response time and load on server.
>
> 2) As per my idea we can use test project it has web base test and load te
st
> inbuilt in Microsoft visual studio Whidbey.
>
> Any one has idea about Load test in Microsoft visual studio Whidbey?
>
> BYE.
> Samir (Software Developer, Ahmedabad, INDIA).
>
>
You should use Microsoft's Web Application Stress Tool (WAST) to stress test
your web application. It can be found at:
http://www.microsoft.com/technet/ar...es.m
spx
Ben Lucas
Lead Developer
Solien Technology, Inc.
www.solien.com
"Samir Patel" <sneelm@.yahoo.co.in> wrote in message
news:eqVEuDalEHA.1152@.TK2MSFTNGP11.phx.gbl...
> Hi,
> Now I am developing C#.net Web Application. It is almost completed. Now I
> want to check performance testing of it. I want...
>
> 1) Create 100 user environments, mean 100 users simultaneously request a
> same page I want to see response time and load on server.
>
> 2) As per my idea we can use test project it has web base test and load
test
> inbuilt in Microsoft visual studio Whidbey.
>
> Any one has idea about Load test in Microsoft visual studio Whidbey?
>
> BYE.
> Samir (Software Developer, Ahmedabad, INDIA).
>
Performance Testing...
Now I am developing C#.net Web Application. It is almost completed. Now I
want to check performance testing of it. I want...
1) Create 100 user environments, mean 100 users simultaneously request a
same page I want to see response time and load on server.
2) As per my idea we can use test project it has web base test and load test
inbuilt in Microsoft visual studio Whidbey.
Any one has idea about Load test in Microsoft visual studio Whidbey?
BYE.
Samir (Software Developer, Ahmedabad, INDIA).You should use Microsoft's Web Application Stress Tool (WAST) to stress test
your web application. It can be found at:
http://www.microsoft.com/technet/ar...s/webstres.mspx
--
Ben Lucas
Lead Developer
Solien Technology, Inc.
www.solien.com
"Samir Patel" <sneelm@.yahoo.co.in> wrote in message
news:eqVEuDalEHA.1152@.TK2MSFTNGP11.phx.gbl...
> Hi,
> Now I am developing C#.net Web Application. It is almost completed. Now I
> want to check performance testing of it. I want...
>
> 1) Create 100 user environments, mean 100 users simultaneously request a
> same page I want to see response time and load on server.
>
> 2) As per my idea we can use test project it has web base test and load
test
> inbuilt in Microsoft visual studio Whidbey.
>
> Any one has idea about Load test in Microsoft visual studio Whidbey?
>
> BYE.
> Samir (Software Developer, Ahmedabad, INDIA).
Monday, March 26, 2012
Permalinks
Hello,
I am creating a simple Asp.Net Blog system. All blog posts have an ID which is an unique identifier (a GUID).
Now I wanna create permalinks. What format should I use? How can I do this?
Could someone, please, help me out?
Thanks,
Miguel
Hi,
A permalink is a redefinition of the url in an easier way for a user to read or identify it.
Check http://en.wikipedia.org/wiki/Permalink
For example a blog post with such an url:
http://www.mydomain.com/post.aspx?id=398179823223
would become something like:
http://www.mydomain.com/<4 digit year>/<2 digit month>/<2 digit day>/<article name>/
This would show the post with id=398179823223
I don't know exactly how to implement this in my ASP.NET web site.
Thanks,
Miguel
Hi,
A permalink is a redefinition of the url in an easier way for a user to read or identify it.
Check http://en.wikipedia.org/wiki/Permalink
For example a blog post with such an url:
http://www.mydomain.com/post.aspx?id=398179823223
would become something like:
http://www.mydomain.com/<4 digit year>/<2 digit month>/<2 digit day>/<article name>/
This would show the post with id=398179823223
I don't know exactly how to implement this in my ASP.NET web site.
Thanks,
Miguel
Hi shapper,
Forgive me cuz i'm not familiar with this "permanent link" and what i suggested may be wrong. I searched thru the internet and found the following informaton. i hope it can be helpful to solve your problems anyway.
"With Ajaxium it is easy to construct permanent links which guide exactly to the page opened. So if the ASP.NET page is accessible for the visitor by a link, it is just as accessible when Ajaxium is enabled." (Orignial Article see:http://www.ajaxium.com/ajax-critique.aspx) So, could you try to impliment it using AJAX?
Hope my suggestion helps . thanks :)
Permalinks
I am creating a simple Asp.Net Blog system. All blog posts have an ID
which is an unique identifier (a GUID).
Now I wanna create permalinks. What format should I use? How can I do
this?
Could someone, please, help me out?
Thanks,
MiguelTry :
http://en.wikipedia.org/wiki/Permalink and especially the "Popular permalink
formats" chapter.
This is likely most often done suign URL rewriting :
http://en.wikipedia.org/wiki/URL_rewriting
Patrice
"shapper" <mdmoura@.gmail.com> a crit dans le message de news:
1177340457.202371.125940@.l77g2000hsb.googlegroups.com...
> Hello,
> I am creating a simple Asp.Net Blog system. All blog posts have an ID
> which is an unique identifier (a GUID).
> Now I wanna create permalinks. What format should I use? How can I do
> this?
> Could someone, please, help me out?
> Thanks,
> Miguel
>
Hi,
Patrice wrote:
> Try :
> http://en.wikipedia.org/wiki/Permalink and especially the "Popular permali
nk
> formats" chapter.
> This is likely most often done suign URL rewriting :
> http://en.wikipedia.org/wiki/URL_rewriting
Why sue URL rewriting? What did it do to you? :-)
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Depending on the format used it can be a convenient way to map the permalink
to the actual page. For example the OP could parse all year/month/title.aspx
permalinks so that they all map to a default.aspx?id=someid request...
"Laurent Bugnion, MVP" <galasoft-lb@.bluewin.ch> a crit dans le message de
news: %23tbhMkjhHHA.4588@.TK2MSFTNGP02.phx.gbl...
> Hi,
> Patrice wrote:
> Why sue URL rewriting? What did it do to you? :-)
> Laurent
> --
> Laurent Bugnion [MVP ASP.NET]
> Software engineering, Blog: http://www.galasoft-LB.ch
> PhotoAlbum: http://www.galasoft-LB.ch/pictures
> Support children in Calcutta: http://www.calcutta-espoir.ch
Hi,
Patrice wrote:
> Depending on the format used it can be a convenient way to map the permali
nk
> to the actual page. For example the OP could parse all year/month/title.as
px
> permalinks so that they all map to a default.aspx?id=someid request...
Yes. I was trying to make a joke *S* Nevermind!
Greetings,
Laurent
> "Laurent Bugnion, MVP" <galasoft-lb@.bluewin.ch> a crit dans le message de
> news: %23tbhMkjhHHA.4588@.TK2MSFTNGP02.phx.gbl...
>
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Permalinks
I am creating a simple Asp.Net Blog system. All blog posts have an ID
which is an unique identifier (a GUID).
Now I wanna create permalinks. What format should I use? How can I do
this?
Could someone, please, help me out?
Thanks,
MiguelTry :
http://en.wikipedia.org/wiki/Permalink and especially the "Popular permalink
formats" chapter.
This is likely most often done suign URL rewriting :
http://en.wikipedia.org/wiki/URL_rewriting
--
Patrice
"shapper" <mdmoura@.gmail.coma crit dans le message de news:
1177340457.202371.125940@.l77g2000hsb.googlegroups. com...
Quote:
Originally Posted by
Hello,
>
I am creating a simple Asp.Net Blog system. All blog posts have an ID
which is an unique identifier (a GUID).
>
Now I wanna create permalinks. What format should I use? How can I do
this?
>
Could someone, please, help me out?
>
Thanks,
>
Miguel
>
Hi,
Patrice wrote:
Quote:
Originally Posted by
Try :
http://en.wikipedia.org/wiki/Permalink and especially the "Popular permalink
formats" chapter.
>
This is likely most often done suign URL rewriting :
http://en.wikipedia.org/wiki/URL_rewriting
Why sue URL rewriting? What did it do to you? :-)
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Depending on the format used it can be a convenient way to map the permalink
to the actual page. For example the OP could parse all year/month/title.aspx
permalinks so that they all map to a default.aspx?id=someid request...
"Laurent Bugnion, MVP" <galasoft-lb@.bluewin.cha crit dans le message de
news: %23tbhMkjhHHA.4588@.TK2MSFTNGP02.phx.gbl...
Quote:
Originally Posted by
Hi,
>
Patrice wrote:
Quote:
Originally Posted by
>Try :
>http://en.wikipedia.org/wiki/Permalink and especially the "Popular
>permalink formats" chapter.
>>
>This is likely most often done suign URL rewriting :
>http://en.wikipedia.org/wiki/URL_rewriting
>
Why sue URL rewriting? What did it do to you? :-)
>
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Hi,
Patrice wrote:
Quote:
Originally Posted by
Depending on the format used it can be a convenient way to map the permalink
to the actual page. For example the OP could parse all year/month/title.aspx
permalinks so that they all map to a default.aspx?id=someid request...
Yes. I was trying to make a joke *S* Nevermind!
Greetings,
Laurent
Quote:
Originally Posted by
>
"Laurent Bugnion, MVP" <galasoft-lb@.bluewin.cha crit dans le message de
news: %23tbhMkjhHHA.4588@.TK2MSFTNGP02.phx.gbl...
Quote:
Originally Posted by
>Hi,
>>
>Patrice wrote:
Quote:
Originally Posted by
>>Try :
>>http://en.wikipedia.org/wiki/Permalink and especially the "Popular
>>permalink formats" chapter.
>>>
>>This is likely most often done suign URL rewriting :
>>http://en.wikipedia.org/wiki/URL_rewriting
>Why sue URL rewriting? What did it do to you? :-)
>>
>Laurent
>--
>Laurent Bugnion [MVP ASP.NET]
>Software engineering, Blog: http://www.galasoft-LB.ch
>PhotoAlbum: http://www.galasoft-LB.ch/pictures
>Support children in Calcutta: http://www.calcutta-espoir.ch
>
>
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Permission
I've created my SmartClient that have to print some text directly to the
printer. To do it, I create a text file and after copy it to the printer.
Perfect... But, I am having some permission problems... Look the error:
The application tried to execute a not permited operation by the security
directive ...
System.Drawing.PrintingPermission, System.Drawing.Version=...
Could someone help me?
Thank'sHi,
I think i already send you chris sells article. you can find your
solution there :
http://msdn.microsoft.com/library/d...y/en-us/dnforms
/html/winforms11122002.asp
and
http://msdn.microsoft.com/msdnmag/i...etSmartClients/
HTH
Natty Gur[MVP]
blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.examnotes.net ***
Don't just participate in USENET...get rewarded for it!
Permission
I've created my SmartClient that have to print some text directly to the
printer. To do it, I create a text file and after copy it to the printer.
Perfect... But, I am having some permission problems... Look the error:
The application tried to execute a not permited operation by the security
directive ...
System.Drawing.PrintingPermission, System.Drawing.Version=...
Could someone help me?
Thank'sHi,
I think i already send you chris sells article. you can find your
solution there :
http://msdn.microsoft.com/library/d...y/en-us/dnforms
/html/winforms11122002.asp
and
http://msdn.microsoft.com/msdnmag/i...etSmartClients/
HTH
Natty Gur[MVP]
blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Saturday, March 24, 2012
Permissions
folders. What should i do to permit ASP.NET scripts writing, for example, i
n C:\test.txt ?You need to give write (and possibly Change) permissions to the ASPNET
account.
The best way is to do it securely as outline here:
How To Create a Custom Account to Run ASP.NET
http://msdn.microsoft.com/library/e...asp?frame=true
"michael" <michael.1jbh5v@.mail.codecomments.com> wrote in message
news:michael.1jbh5v@.mail.codecomments.com...
> By default, IIS denies ASP.NET scripts to write files on the disc and
> create folders. What should i do to permit ASP.NET scripts writing, for
> example, in C:\test.txt ?
>
> --
> michael
> ---
> Posted via http://www.codecomments.com
> ---
>
permissions creating web application
"Unable to create web project <name>. The UNC share <UNC> does not exist or you do not have access.
One suggestion I have seen a few times is create the app on the local machine and then publish to the server. I want to create the app on my develoment server, not on my local machine and then publish to a production box.
I noticed a post from one of this forums "ASP.net team" users stating something along the lines of "creating a web application is a snap just go to New Project --> .net web application". I laughed big time at that. I am in my fourth day of attempting this "snap" process.It works fine, but you have to make sure you have the correct privelages.. From the error it seems you don't have write permissions maybe?
yeah it is a permissions issue. The question is permissions for who? You have my local machine with VS.net installed. I log into a domain so I am assuming that the VS application is running with that account information.
I then try to create an application on a server outside a firewall and not part of the domain. That IIS server is running the show as far as the virtual directory and web application is concerned so I assume the account is IUSR_machine.
That to me seems to be a potential source of this problem.
Check if you have permissions on the directory you are trying to write to. I believe this is just directory permissions you are dealing with here.
Wednesday, March 21, 2012
Permissions Issue
Hello, I am tring to create a .mdb db programatically on my server. It works just fine on my pc but not when I attempt it on my online server. I got a security exception error which stated I needed to chage the applications trust level. So I attempted to change the trust and added this to my config file:
<securityPolicy><trustLevelname="Full"policyFile="internal" />
</securityPolicy ><trustlevel="Full" />
Now i get this configuration error:
Parser Error Message:This configuration section cannot be used at this path. This happens when the site administrator has locked access to this section using <location allowOverride="false"> from an inherited configuration file.
Source Error:
Line 64: <customErrors mode="Off"/>Line 65:Line 66: <securityPolicy>Line 67: <trustLevel name="Full" policyFile="internal" />Line 68: </securityPolicy >
Any Ideas on how to fix this? Thanks!
Have you tried allowOverride=true?
<location allowOverride="true"><system.web><securityPolicy><trustLevel name="Full" policyFile="internal" /></securityPolicy ></system.web>
Thanks for the reply. I did try this before and I got this runtime error:
Description:An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
But i already have<customErrorsmode="off"/> in my config file. Im not sure what to do.
Hi grogo21,
Based on my understanding, this is because the site administrator of your online server has locked access to this section so you are not able to override the setting. In application hosting scenarios, administrator might want to lock some settings of an ASP.NET application to prevent modification at lower levels. You need to contact your site administrator for help if you don't have such permissions.
Please check this document for more details.
http://msdn2.microsoft.com/en-us/library/ms178693.aspx
Permissions to create asp.net site
I am creating an asp.net application using Windows 2000 Server and
VS.NET 2002. My account is part of the administrators group. I need to
share this machine with another developer. What permissions should I
give to his account in order he can successfuly create asp.net
applications, without being an administrator?
Thanks,
Robert ScheerI never run as an admin on my development box. (You should stop running as
an admin yourself.) The trickiest part to get set up is debugging. Set the
user up as a debugger user. Also, you need to run the aspnet_wp process
using the credentials of the person who is using it to get full debugging -
you can edit this directly in machine.config, and you should also
investigate the aspnet_setreg utility to encrypt these credentials so you
don't have them just sitting in plain text. I have no problems with this
configuration creating and editing asp.net applications.
--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--
"Robert Scheer" <rbscheer@.my-deja.com> wrote in message
news:cfd22ab6.0312011803.6ffa9ccd@.posting.google.c om...
> Hi.
> I am creating an asp.net application using Windows 2000 Server and
> VS.NET 2002. My account is part of the administrators group. I need to
> share this machine with another developer. What permissions should I
> give to his account in order he can successfuly create asp.net
> applications, without being an administrator?
> Thanks,
> Robert Scheer
Hi Chris.
What problems can I find as an administrator when developing on my .net machine?
Thanks,
Robert Scheer
"Chris Jackson" <chrisjATmvpsDOTorgNOSPAM> wrote in message news:<e03UkKPuDHA.1740@.TK2MSFTNGP12.phx.gbl>...
> I never run as an admin on my development box. (You should stop running as
> an admin yourself.) The trickiest part to get set up is debugging. Set the
> user up as a debugger user. Also, you need to run the aspnet_wp process
> using the credentials of the person who is using it to get full debugging -
> you can edit this directly in machine.config, and you should also
> investigate the aspnet_setreg utility to encrypt these credentials so you
> don't have them just sitting in plain text. I have no problems with this
> configuration creating and editing asp.net applications.
> --
> Chris Jackson
> Software Engineer
> Microsoft MVP - Windows Client
> Windows XP Associate Expert
> --
> More people read the newsgroups than read my email.
> Reply to the newsgroup for a faster response.
> (Control-G using Outlook Express)
> --
> "Robert Scheer" <rbscheer@.my-deja.com> wrote in message
> news:cfd22ab6.0312011803.6ffa9ccd@.posting.google.c om...
> > Hi.
> > I am creating an asp.net application using Windows 2000 Server and
> > VS.NET 2002. My account is part of the administrators group. I need to
> > share this machine with another developer. What permissions should I
> > give to his account in order he can successfuly create asp.net
> > applications, without being an administrator?
> > Thanks,
> > Robert Scheer