Showing posts with label section. Show all posts
Showing posts with label section. Show all posts

Saturday, March 24, 2012

newbie: setting IsApproved in web.config, how??

hey
asp.net 2.0
I want to set IsApproved (MembershipUser.IsApproved) to false in web.config
(I guess this is done in the profile section in web.config)... I wonder how
this can be done?
What I'm trying to do is that when a user register at my web site, his user
account is set to false (IsApproved=false).. then an email is sent to the
user where he must confirm that he really is that person who registered...
any suggestions on how I can set IsApproved in web.config are welcome!
JeffHello Jeff,
I don't think it's possible to do this in web.config. If you are using
CreateUserWizard, you can make your own CreatedUser event handler and set
Membership.GetUser().IsApproved manually. To do this CreateUserWizard's
LoginCreatedUser has to be set to true, otherwise Membership.GetUser() is no
t
working so don't forget to logout new user at the end of your event handler.
I hope this will work, i have never done it before.
Regards,
Ladislav Mrnka
"Jeff" wrote:

> hey
> asp.net 2.0
> I want to set IsApproved (MembershipUser.IsApproved) to false in web.confi
g
> (I guess this is done in the profile section in web.config)... I wonder ho
w
> this can be done?
> What I'm trying to do is that when a user register at my web site, his use
r
> account is set to false (IsApproved=false).. then an email is sent to the
> user where he must confirm that he really is that person who registered...
> any suggestions on how I can set IsApproved in web.config are welcome!
> Jeff
>
>

newbie: setting IsApproved in web.config, how??

hey

asp.net 2.0

I want to set IsApproved (MembershipUser.IsApproved) to false in web.config
(I guess this is done in the profile section in web.config)... I wonder how
this can be done?

What I'm trying to do is that when a user register at my web site, his user
account is set to false (IsApproved=false).. then an email is sent to the
user where he must confirm that he really is that person who registered...

any suggestions on how I can set IsApproved in web.config are welcome!

JeffHello Jeff,

I don't think it's possible to do this in web.config. If you are using
CreateUserWizard, you can make your own CreatedUser event handler and set
Membership.GetUser().IsApproved manually. To do this CreateUserWizard's
LoginCreatedUser has to be set to true, otherwise Membership.GetUser() is not
working so don't forget to logout new user at the end of your event handler.

I hope this will work, i have never done it before.

Regards,
Ladislav Mrnka

"Jeff" wrote:

Quote:

Originally Posted by

hey
>
asp.net 2.0
>
I want to set IsApproved (MembershipUser.IsApproved) to false in web.config
(I guess this is done in the profile section in web.config)... I wonder how
this can be done?
>
What I'm trying to do is that when a user register at my web site, his user
account is set to false (IsApproved=false).. then an email is sent to the
user where he must confirm that he really is that person who registered...
>
any suggestions on how I can set IsApproved in web.config are welcome!
>
Jeff
>
>
>

newbie: what is the name on this?

hey
asp.net 2.0
I came accross in the asp.net 2.0 documentation while ago a section about
changing the URL from for example being like this
www.helloworld.com\test\profile\use...ie\default.aspx to be like this
www.helloworld.com\newbie . This could be set in web.config. Well, maybe it
doesn't work exactly as I mention I above, I'm wondering what this is
called' I want to look up in the dokumention about this and find it very
hard when I don't know what this subject is called...
I'm trying to develop a portal (give me practice in using asp.net 2.0 is the
main goal with it), and placing all the webpages in the root folder seem not
like a good idea to me... the root folder will soon become floated with many
web pages. That's why I want to move the pages into different subfolders,
but still have let the URL look nice...
Any suggestion on what this is called? a link to info about this is also
welcome!
JeffURL Mapping:
http://www.developer.com/net/asp/article.php/3581326
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com/
****************************************
*********
Think Outside the Box!
****************************************
*********
"Jeff" <it_consultant1@.hotmail.com.NOSPAM> wrote in message
news:OsDLMAx6GHA.4232@.TK2MSFTNGP02.phx.gbl...
> hey
> asp.net 2.0
> I came accross in the asp.net 2.0 documentation while ago a section about
> changing the URL from for example being like this
> www.helloworld.com\test\profile\use...ie\default.aspx to be like this
> www.helloworld.com\newbie . This could be set in web.config. Well, maybe
> it doesn't work exactly as I mention I above, I'm wondering what this is
> called' I want to look up in the dokumention about this and find it very
> hard when I don't know what this subject is called...
> I'm trying to develop a portal (give me practice in using asp.net 2.0 is
> the main goal with it), and placing all the webpages in the root folder
> seem not like a good idea to me... the root folder will soon become
> floated with many web pages. That's why I want to move the pages into
> different subfolders, but still have let the URL look nice...
> Any suggestion on what this is called? a link to info about this is also
> welcome!
> Jeff
>

newbie: what is the name on this?

hey

asp.net 2.0

I came accross in the asp.net 2.0 documentation while ago a section about
changing the URL from for example being like this
http://www.helloworld.com\test\prof...\defaul t.aspx to be like this
www.helloworld.com\newbie . This could be set in web.config. Well, maybe it
doesn't work exactly as I mention I above, I'm wondering what this is
called?? I want to look up in the dokumention about this and find it very
hard when I don't know what this subject is called...

I'm trying to develop a portal (give me practice in using asp.net 2.0 is the
main goal with it), and placing all the webpages in the root folder seem not
like a good idea to me... the root folder will soon become floated with many
web pages. That's why I want to move the pages into different subfolders,
but still have let the URL look nice...

Any suggestion on what this is called? a link to info about this is also
welcome!

JeffURL Mapping:
http://www.developer.com/net/asp/article.php/3581326
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com/
*************************************************
Think Outside the Box!
*************************************************
"Jeff" <it_consultant1@.hotmail.com.NOSPAMwrote in message
news:OsDLMAx6GHA.4232@.TK2MSFTNGP02.phx.gbl...

Quote:

Originally Posted by

hey
>
asp.net 2.0
>
I came accross in the asp.net 2.0 documentation while ago a section about
changing the URL from for example being like this
http://www.helloworld.com\test\prof...\defaul t.aspx to be like this
www.helloworld.com\newbie . This could be set in web.config. Well, maybe
it doesn't work exactly as I mention I above, I'm wondering what this is
called?? I want to look up in the dokumention about this and find it very
hard when I don't know what this subject is called...
>
I'm trying to develop a portal (give me practice in using asp.net 2.0 is
the main goal with it), and placing all the webpages in the root folder
seem not like a good idea to me... the root folder will soon become
floated with many web pages. That's why I want to move the pages into
different subfolders, but still have let the URL look nice...
>
Any suggestion on what this is called? a link to info about this is also
welcome!
>
Jeff
>

Thursday, March 22, 2012

Newbies questions

Hi guys, first of all please excuse me if I post this topic in the wrong section. I have two questions. First of all I am new in web development and I really want to learn asp.net, one thing I am not sure of is that, what is the the languages that I need to learn before learning asp.net? currentlly I am all most done with HTML and CSS, is there anything I need to learn also? XML maybe?

Another thing is that, I know that I can use C sharp or VB with ASP.net. should I learn C sharp or VB before ASP.net or after?

And thank you in advance.

Please take a look at this pagehttp://asp.net/getstarted/default.aspx?tabid=61

and sure you need to learn C# or VB before


learning ASP.NET and VB.NET ( C#) goes simulantenously.....

because whenever you create web-forms , you need to write inline code or code behind to execute form for various things like validation of data,insertion,deletion etc.

HTML & CSS is used only in User Interface layer, there are other layes involved like Business layer,Database layer...

for you best is to start from here :

http://quickstarts.asp.net/QuickStartv20/aspnet/doc/

start with all kinds of server controls....

all the best !


Hi,

In my opinion, both of the VB and C# are good, you can choose the one you like better. They are supported by the CTS of .NET Framework. They have the same FCL in the .NET Framework. The difference between them is just syntax. When you learn ASP.NET, you should be familiar with C# or VB. They are used to implement the business logic, and HTML and CSS are used to manipulate the presention of the page.

Here is the getting started introduction article of ASP.NEThttp://www.sitepoint.com/article/getting-started-asp-net/4

Hope it helps,

Jessica

Friday, March 16, 2012

News section of the website

We have a news section in our website ,which we hardly know how to fill it
up with news material,we'd like to have some microsoft related news in that
section besides our own news which are not enough to make that page
stuffed.I just wondered if there is a webservice or something we can use
there so we don't manually update that section.Any ideas?
ThanksLook at RSS feeds:
Creating an Online RSS News Aggregator with ASP.NET
http://msdn.microsoft.com/library/d...rssw-aspnet.asp
Eliyahu
"ALI-R" <Ray@.Alirezaei.com> wrote in message
news:eeduPWyFFHA.3244@.TK2MSFTNGP15.phx.gbl...
> We have a news section in our website ,which we hardly know how to fill it
> up with news material,we'd like to have some microsoft related news in
that
> section besides our own news which are not enough to make that page
> stuffed.I just wondered if there is a webservice or something we can use
> there so we don't manually update that section.Any ideas?
> Thanks
>
Thanks very much ,,it's a very good start ,shall I bind my repeater to that
RSS?
Is it something common in websites?
Thanks
"Eliyahu Goldin" <removemeegoldin@.monarchmed.com> wrote in message
news:OVfZemyFFHA.2824@.tk2msftngp13.phx.gbl...
> Look at RSS feeds:
> Creating an Online RSS News Aggregator with ASP.NET
> http://msdn.microsoft.com/library/d...rssw-aspnet.asp
> Eliyahu
> "ALI-R" <Ray@.Alirezaei.com> wrote in message
> news:eeduPWyFFHA.3244@.TK2MSFTNGP15.phx.gbl...
> that
>

News section of the website

We have a news section in our website ,which we hardly know how to fill it
up with news material,we'd like to have some microsoft related news in that
section besides our own news which are not enough to make that page
stuffed.I just wondered if there is a webservice or something we can use
there so we don't manually update that section.Any ideas?

ThanksLook at RSS feeds:

Creating an Online RSS News Aggregator with ASP.NET
http://msdn.microsoft.com/library/d...rssw-aspnet.asp

Eliyahu

"ALI-R" <Ray@.Alirezaei.com> wrote in message
news:eeduPWyFFHA.3244@.TK2MSFTNGP15.phx.gbl...
> We have a news section in our website ,which we hardly know how to fill it
> up with news material,we'd like to have some microsoft related news in
that
> section besides our own news which are not enough to make that page
> stuffed.I just wondered if there is a webservice or something we can use
> there so we don't manually update that section.Any ideas?
> Thanks
Thanks very much ,,it's a very good start ,shall I bind my repeater to that
RSS?

Is it something common in websites?
Thanks
"Eliyahu Goldin" <removemeegoldin@.monarchmed.com> wrote in message
news:OVfZemyFFHA.2824@.tk2msftngp13.phx.gbl...
> Look at RSS feeds:
> Creating an Online RSS News Aggregator with ASP.NET
> http://msdn.microsoft.com/library/d...rssw-aspnet.asp
> Eliyahu
> "ALI-R" <Ray@.Alirezaei.com> wrote in message
> news:eeduPWyFFHA.3244@.TK2MSFTNGP15.phx.gbl...
>> We have a news section in our website ,which we hardly know how to fill
>> it
>> up with news material,we'd like to have some microsoft related news in
> that
>> section besides our own news which are not enough to make that page
>> stuffed.I just wondered if there is a webservice or something we can use
>> there so we don't manually update that section.Any ideas?
>>
>> Thanks
>>
>>