Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.NET Drawbacks

Status
Not open for further replies.

LuckyDuck528

Programmer
Dec 21, 2004
65
US
Hello All-

Please redirect me if I am in the wrong place...

I am trying to find any information about the Negatives of using .NET Framework, if there are any? Such as: Does it "play well" with other applications? Are there any known security issues that can be cumbersome to work around... etc... I have quite the list of links explaining the benefits.

Any expereinces, ideas, suggestions, links, etc are appreciated.

Thanks for your time! [smile]
 
The only thing I can compare it to is traditional asp and all I can say is NO. Security issues are getting easier to work with. Session State now works accross servers in a farm with little to no configuation. aspx 2.0 is even better!

For app dev and component development, .net seems to play nicer than com. Easy to install (click once and bam it works)

Developing webservices is a snap and then writing an app to use the webservice (rich client) is also a very simple matter.

Heck I just don't know of any problmes. (other than it won't run on Unix or Linix at this moment - and for that matter I love windows 2003! it runs very fast also..


Sorry/.. I know you were looking for issues and i just can't think of any.


Rob
 
ASP.NET also runs only on the server, so there's no deployment issues (.net runtime is 20+ mb in size).

Chip H.


____________________________________________________________________
Click here to learn Ways to help with Tsunami Relief
If you want to get the best response to a question, please read FAQ222-2244 first
 
How do you guys handle with the lack of client-side scriptign when using asp.net controls?

IE...
If you have <asp:listbox name="something"> You cannot raise on onMouseOver event...Whereas with a normal <input type="radio" name="whatever"> a onMouseOver [for each radio] is no problem. Granted I'm just gettin into .net but it's already annoyed the hell out of me.



Use your resources, you're on the internet!
 
You can use JavaScript when you need client side scripting.

Hope everyone is having a great day!

Thanks - Jennifer
 
yes you can, but in certain controls you cannot assign certain events you would in classic asp/html.

Ex: no onClick event available in listItems's...No ID is assigned to each listItem, so you cannot add the attribute on page_load.

I'm not saying there aren't ways around, it's just a bit more work than it needs to be.

Use your resources, you're on the internet!
 
I am quite new to .net as I state, so perhaps you can explain how you would to this...
Given this code...

Code:
						<asp:RadioButtonList id="list" Runat="server" AutoPostBack="False">
							<asp:ListItem Value="Admin" />
							<asp:ListItem Value="Artwork / Signage / Whiteboards" />
							<asp:ListItem Value="Audio / Visual" />
							<asp:ListItem Value="Cafe / Vending" />
							<asp:ListItem Value="Doors" />
							<asp:ListItem Value="Furniture" />
							<asp:ListItem Value="General Maintenance" />
							<asp:ListItem Value="HVAC" />
							<asp:ListItem Value="Janitorial" />
							<asp:ListItem Value="Landscaping" />
							<asp:ListItem Value="Lights" />
							<asp:ListItem Value="Moves" />
							<asp:ListItem Value="Parking" />
							<asp:ListItem Value="Security / Safety" />
							<asp:ListItem Value="Utilties" />
						</asp:RadioButtonList>

how would you use "attributes.add..." if you want to fire a javascript event for each listItem with different parameters going to the function?

My understanding of adding attributes is the following"
ControlID.Attributes.Add = ("onClick whatever;")

How do you pass unique params to each listItem when the ID applies to the entire radioButtonList?

(not tryin to be fresh - serious question)

Use your resources, you're on the internet!
 
You can give an ID to each list item, or just try list.Items(i).Attributes.Add("onclick","whatever").

My issues with .Net have become fewer and fewer as I work with the platform. Might mean there's a bit of a learning curve, but it wasn't harsh or any worse than anything else I've used. Personally, my issues tend to be with Visual Studio.NET moreso than ASP/VB. Oh, and .NET thinks anything other than IE is a "DownLevel" browser, so don't expect most of the fun generated javascript with things like validators to work in Firefox/Opera/Safari/etc.

________________________________________
Andrew

I work for a gift card company!
 
so you're saying the following should work...

Code:
						<asp:RadioButtonList id="list" Runat="server" AutoPostBack="False">
							<asp:ListItem Value="Admin" />
							<asp:ListItem Value="Artwork / Signage / Whiteboards" />
							<asp:ListItem Value="Audio / Visual" />
							<asp:ListItem Value="Cafe / Vending" />
							<asp:ListItem Value="Doors" />
							<asp:ListItem Value="Furniture" />
							<asp:ListItem Value="General Maintenance" />
							<asp:ListItem Value="HVAC" />
							<asp:ListItem Value="Janitorial" />
							<asp:ListItem Value="Landscaping" />
							<asp:ListItem Value="Lights" />
							<asp:ListItem Value="Moves" />
							<asp:ListItem Value="Parking" />
							<asp:ListItem Value="Security / Safety" />
							<asp:ListItem Value="Utilties" />
						</asp:RadioButtonList>

codeBehind:
Code:
  Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        Me.list.Items(0).Attributes.Add("onClick", "setFlag(this.checked, 'd0';")

End Sub

where am i going wrong?

this gets rendered like...
Code:
<table id="list" border="0">
	<tr>
		<td><input id="list_0" type="radio" name="list" value="Admin" /><label for="list_0">Admin</label></td>
	</tr><tr>
etc..


Use your resources, you're on the internet!
 
oh..assigning the listItems an 'id' doesn't get rendered /added to my codeBehind / so I can't reference it at all...and therefore can't add attributes

Use your resources, you're on the internet!
 
Aw, sounded like a good idea. Oddly enough, if you set a handler for the entire RadioButtonList, it sets it for the table/span that contains the list. Strikes me as a bit of a strange way to do it, but it looks like you might be SOL. The ListItem has an attributes collection, but does nothing with them. If you need separate events for each element, looks like you have to create each element separately. :(

________________________________________
Andrew

I work for a gift card company!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top