| Solentive News |
|
|
[click for more...]
|
|
This Application demonstrates how .NET Reflection can be used to Query and Invoke Any Assemblies Methods.
19/10/2007
[Link]
yang yu 1799999
|
|
|
|
[click for more...]
|
|
Tips to integrate ASP.NET app with legacy ASP, PHP, RAILS, JAVA apps
19/10/2007
[Link]
Vijayaraghavan A Iyengar
|
|
|
|
[click for more...]
|
|
Using ASP.NET, C#, Framework 1.1 to show a master/detail grid with javascript to expand & collapse.
19/10/2007
[Link]
Rajib Ahmed
|
|
|
|
[click for more...]
|
|
SOFTWARE development project delays and overspending are costing Australian companies $85 million per annum, a report has found.
19/10/2007
[Link]
|
|
|
|
[click for more...]
|
Sometimes, it is easier to explain a concept in layman terms. Came across this post which discusses the difference between Object Oriented design and SOA. This topic has been beaten to death by almost everyone! I like the way this interesting topic has been explained using a simple analogy. Here is the post: http://blogs.msdn.com/smguest/archive/2004/01/29/64871.aspx Good one there Simon. Thanks!
19/10/2007
[Link]
|
|
|
|
[click for more...]
|
I am returning to Phoenix today after teaching ASP.NET AJAX in Dallas, Texas. Thanks to everyone who attended the class! About 50% of my students were from the same company, and were already using AJAX technologies. One in particular had experience with Prototype, and made some excellent observations regarding the two platforms. A concern raised about the Microsoft AJAX implementation was the total size of scripts downloaded to client. One of the suggestions provided by Microsoft is to enable compression in the web.config file as so: <scriptResourceHandler enableCompression="true" enableCaching="true" /> However, the following snapshot is taken from a forum discussion that makes it appear that compression is only enabled for IE7?  This raises the question: Are there other alternatives for managing script size issues in ASP.NET AJAX that will work across the major browsers used today?
19/10/2007
[Link]
|
|
|
|
[click for more...]
|
I have posted an article on my web site , http://www.josephguadagno.net, that demonstrates how to use the Google AJAX Search API using a custom JavaScript object called MyGSearch. MyGSearch, simplifies the use of the Google AJAX Search API by wrapping the setup in a single object. View the article here.
19/10/2007
[Link]
|
|
|
|
[click for more...]
|
The .NET Framework 3.5 is shipping later this year at the same time as Visual Studio 2008. The .NET Framework 3.5 is an additive release, meaning that it adds functionality in terms of classes in assemblies to the previous versions 3.0 and 2.0 of the...( read more)
19/10/2007
[Link]
|
|
|
|
[click for more...]
|
Here's one that some of you may have seen before, but I thought I'd post it to save some time to those who didn't. Today we were trying to debug some client-side code and we needed to quickly wire the click event of a button. So we did this, without thinking too hard: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Stack overflow</title>
<script type="text/javascript">
function onclick() {
// do stuff
}
</script>
</head>
<body>
<div>
<input type="button" value="Click me" onclick="onclick();" />
</div>
</body>
</html>
Can you spot the stack overflow? We were so focused on the "do stuff" part that we didn't see it at first, thinking it came from there. But of course, it just comes from onclick="onclick();". When JavaScript resolves the name "onclick", it looks first on the current context before it goes up the scope chain and finds our global function (which it never does). The current context here is the input element, which happens to have an "onclick" attribute, which executes "onclick", etc. Crash.
So the valuable lesson we've learned here is to adopt a naming convention for our event handlers that can't conflict with the name of the event. I usually choose elementIdOnEventName. For example here if the input's id is button1, we'd go with button1OnClick.
19/10/2007
[Link]
|
|
|
|
[click for more...]
|
|
A simple implementation of .Net 2.0's SerialPort class for Modbus communications
19/10/2007
[Link]
distantcity
|
|
|
|
[click for more...]
|
I just finished a summary of a company's review about work modes and problems before we can start doing something about it. I'm posting part of it as anonymous because I think this seems to relate to many other companies out there: "The QA Department seems to be the main gripe of most of the departments in the company. The main issues are of it being staffed with personnel who does not really understand the application aspects of what they are testing, and so don’t really know what to test in the application. Another main issue is the lack of knowledge about proper QA methods. Each QA department seems to be reinventing the wheel and creating its own methods. This also leads to the face that most tests are not automated and most tests don’t even get repeated for regressions after each release, which leads to an overall lower quality in the product. ... The Marketing division seems to be a large source of problems. Most of these come from the fact that Marketing people also serve as Product Managers in the company (Those who should be truly representing the client’s real needs), setting feature priorities and agenda for the next release with ultimate decision power. Because there is a conflict of interest between the role of marketing and role of Product manager, many of the things that are requested from other departments such as Customer Support are considered haphazardly if at all, which leads to a product that contains features a real customer might not need, but misses features the customer really does need. Add in a true product manager role into the company can help alleviate many of these issues as well as the partial amount of time that marketing has of actually communicating with all relevant departments as a customer. ... The X group is highly motivated in implementing agile practices such as unit testing, and are suffering from lack of automation in the group, “islands” of knowledge and lack of code reviews. ... Management has a big role in creating the current conditions for problems. The lack of CTO, and the fact that the CEO is the one who is “acting CEO” lead to lack of real technical leadership (lack of time to handle things) and no clear “head” to turn to and get quick good answers. Management can help by supporting practices such as unit testing and automation and getting and hiring good people into the missing roles in the company (Product managers, CTO) and by allowing for real time extensions to projects that would like to implement them. ... Generally speaking, there are various “pain points” that currently prohibit the departments from either getting the full data they need, influence the current releases so they contain the correct feature set or be more productive in their work. A main example is the big confusion about the various issue management software: which is reported to be almost unusable and there is no clear sync between that and X and Y issue management software also used in the other departments. Also the fact that developers aren’t really aware of what the application is used for in the field leads to believe that more time spent with the customer can help. Overall many “small” things can make for a large difference in the organization’s ability to create quality software and get better communication between the departments more quickly. "
19/10/2007
[Link]
|
|
|
|
[click for more...]
|
I haven't bought a programming book in
awhile, but I was getting the itch to start reading something a little
more in depth to engage my head and perhaps inspire a little. Blogs and
other sites just don't offer the kind of depth that a good book can. Since I've been disappointed with the official ASP.NET AJAX site
and the documentation there (it's complete, but offers very little
context), I decided that's what I wanted to know more about. Some
experimentation with control extenders is about as far as I've gone
beyond UpdatePanels, so there's an area I could get into. I settled on ASP.NET AJAX in Action, mostly because it was suggested on Scott Guthrie's blog, and he knows something about the subject, obviously. I
got it Tuesday, and I haven't been able to put it down. Yeah, it's that
interesting. The reason it works for me is that it appeals to my
curiosity about the "why" instead of just saying what to do. It offers
what so few programming books do anymore: context. After the
first few chapters, you start to work out in your head how so many of
the things in the control toolkit work. I've never been that fond of
JavaScript, but the new framework makes it a lot less painless. I dig
it. So if you're interested in this framework, and explore it in a meaningful way, check it out. Totally worth it.
19/10/2007
[Link]
|
|
|
|
[click for more...]
|
|
19/10/2007
[Link]
|
|
|
|
[click for more...]
|
|
CEO Steve Jobs says the company’s hit phone will open up to third-party applications and that a software development kit is coming.
19/10/2007
[Link]
info@redherring.com (Red Herring)
|
|
|
|
[click for more...]
|
I often use a XHTML Strict doctype on my websites and try to get them 100% valid every time (and I also put a link to the w3 validator service on each page). However, even though I do this the validator service often complains that my code isn't valid even though I know it is. The reason for this is that ASP.NET sees the request from w3 as coming from a "down-level" browser and as such sends different (and invalid for this doctype) XHMTL. To get around this problem, I use a .browser file specifically...( read more)
19/10/2007
[Link]
|
|
|
|
[click for more...]
|
|
This is a WebControl that provides an easy way to prepare an ASP.NET GridView to be paged and printed in the browser.
19/10/2007
[Link]
Cassio Alves
|
|
|
|
[click for more...]
|
|
How to integrate TortoiseSVN – a Subversion Source Control system with Visual Studio.NET
19/10/2007
[Link]
Ruslan Sudentas
|
|
|
|
[click for more...]
|
Today we released a new version of the T4 Editor . You didn't heard about T4 templates or Text Transformations, before?, That's a technology made by P&P and was used by the DSL Tools team to able to run text transformations in its projects. Now the T4 template bits will be available for free as a part of the VS Orcas, so you would be run your own transformations in your projects for free. For example a common case is the artifacts generation from a database. Some of the features of the new T4...( read more)
19/10/2007
[Link]
|
|
|
|
[click for more...]
|
Glenn asks:
Hey Michael...
I have a question about the culture info and these settings in the registry. Seeing you have posted a lot of info about this on your blog I was hoping you could help me out a bit :) The question :
I was wondering if I could somehow change the settings of following Registry : HKEY_USERS\.DEFAULT\Control Panel\Internation by means of the use of a CultureInfo I've created in C# using a LCID ?
In other words can I manipulate this through use of any .Net class ? Or do I really have to copy all values ?
Any thoughts ?
Greets Glenn
There is no .NET way to modify this account's settings (basically the LocalSystem account), though there is one programmatic way: if you have code running in that account you can call SetLocaleInfo (which does really stink but can be useful in this scenario) to update settings.
Note that this will only work for the "current user" of the LocalSystem account, which is what this registry key contains. And although the registry is undocumented, the SetLocaleInfo functionality is not.
Of course, impersonation is (generally speaking) out of the question for security reasons, so you do have to be running within the account; perhaps you were there anyway. Though caution is warranted in that case, because you are exposing the surface area a bit in case there is any flaw or vulnerability in your code. So be very careful about running as such a privileged user!
This post brought to you by ƺ (U+01ba, a.k.a. LATIN SMALL LETTER EZH WITH TAIL)
19/10/2007
[Link]
|
|