Friday, January 2, 2009

First of all Happy IT New Year of 2009.



Some times we want to search in Active Directory (AD) for a specific field and we dont know how. To Search the AD you just :



Create a shortcut in your desktop whith the following command:



%SystemRoot%\SYSTEM32\rundll32.exe dsquery,OpenQueryWindow



and that shortcur gives you access to a search engine of the AD:





another choise is the AD Explorer that is an application that alows us to search the AD database:




Sunday, November 23, 2008

Technical Meeting about Sharepoint


In the last 10Th,12Th and 17Th of November, me and my colleague Fernando Reis, show three technical sessions about Microsoft Office Sharepoint Server 2007 (MOSS) at Altior. In this sessions we try to aboard all aspects in the development of applications over Sharepoint 2007, including is installation, implement ion e deployment.

In our first session we want to explain what MOSS is all about, what it offers, what services it includes, it's topologies, and Finlay how it is structured.

Also in this session we showed how the installation process is made and emphasises the principals aspects in that installation process such as, Shared Services Configuration and Search Configuration


After we give to know MOSS and how we can install it, in the second session we want to show how to create an Sharepoint Application end-to-end, starting to create an Sharepoint Application and by showing a Site Collection, we showed how to administrate those things and who we can implement User Controls and Web Parts into a Sharepoint site.


At the last session we finalize the implementation of a Sharepoint application, and show how we can configure the search using the MOSS object model.

After that we show the deployment process of an Sharepoint Application, and what worries we must have in this process. At the end of our meeting we demonstrate some differences between MOSS and other web content types such as OpenCMS , Joomla e LifeRay.

Finlay we tell what challenges does MOSS have in the future, and what share it has on the Enterprise Content Manage (ECM) market.

At last i want to give my tank you to Altior to make this event happen.





Tuesday, November 4, 2008

1000+ Web 2.0 APIs





1000+ Web 2.0 APIs

It can be found in here:

http://www.programmableweb.com/apis/directory

Friday, October 31, 2008

Debugging without break the code.


In a earlier project that i had worked, i used remote debugging, that work just fine, until the network policies were changes, and then it was extremely painful to make some kind of debugging, and i then i make use of the old fashion debug of using Response.Writeln(value to debug) or Debug.WriteLine(value to debug).

Today i found a hidden feature of the VS debugger, call "When Hit...". That feature gives the possibility to use breakpoints has run time markers to extract values.

After you select the breakpoint with right mouse click, a window appears so you can configure the behaviour of your breakpoint.


In the textbox Print a message we write the syntax of what we want the debugger to tell us, when he passes on that breakpoint. As an example on the output window will appear this messages if we configure the breakpoint as the window above.
Function: Some_Event(object, System.EventArgs), Timestamp: "18:15:54"
Function: Some_Event(object, System.EventArgs), Timestamp: "18:15:54"
(...)

This feature also allows the execution of a macro, witch provides other process to be trigged by our breakpoint.

Tuesday, October 28, 2008

Handling a Timeout on a Async Request.







Today i got a chalange to break trought, that was handling a Timeout on a Async Request, and i find out that the solution was in adding to the HTML source a Page Request Manager that validates if the request fall into a Timeout. Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function (sender, args) {

if (args.get_error() && args.get_response().get_timedOut()) {

// Tratar o timeout

// colocar o errorHandled = true para evitar receber a popup gerada pela biblioteca de AJAX.

args.set_errorHandled(true);

}

});



And belive me, it works ...

Monday, October 6, 2008

Books, Books and more Books


Here are some links to free Technical Books

Freecomputerbooks.com
Freetechbooks.com
Onlinecomputerbooks.com

Sunday, October 5, 2008

How was Microsoft Dreamway

In friday the Dreamway event occur in the Centro Cultural de Belém (CCB). Another event to review old friends, colleagues and to know more about the new Microsoft Technologies.

After checking in, i assist the Pedro Rosa and Nuno Costa session, that talk about the new tendencies in development, and they explain the Software as a Service concept and show some demos, where we can saw what Microsoft technologies were able to do, such as Silverlight in rich presentations and User Interfaces, such Virtual Earth in maps, or the Live services

Next, i had a coffee break and then i went to a session that talk about the vantages of using the Visual Studio Team System, and in witch way that unit test could be created in this Integrated Development Environment (IDE).

In the next session, presented by Ivo Ramos, i was able to see how easy is to developers and database administrators (DBAs) can work together, and how Visual Studio Team System 2008 Database Edition can help with that task.
Using and database project, developers can work and save the database schema into source control, and also stored procedures, tables etc.

After lunch, Miguel Caldas presented whit is peculiar style, the main features of the new IE8, where one of the most important is the backward compatibility with previous browsers, by telling to IE8 to assume the behavior of IE7, IE6 or even IE5.

In the middle of the Miguel Caldas presentation, at the sound of loud rock music and wrestling star style, Microsoft CEO Steve Ballmer showed at the event, and in front of a majority audience of developers he said that the biggest strength to mobilize an economy was "Developers, Developers, Developers", and Microsoft mission was to guarantee the conditions and tools that developers can do their job.

After the Steve Ballmer session i went to assist an session about ADO.NET Data Services and Microsoft Entity Framework, brilliant presented by Nuno Silva.
Nuno Silva presented the way how does the MS Entity Framework work, he show that the MS Entity Framework is an abstraction of the data model witch the developers only needs to know the entity that he wants the data from. Instead of making a selection with ten inner joins to get an entity, with MS Entity Framework he can create those entities. Another aspect of the MS Entity Framework is that you can create an entity that inherits from another entity.
The ADO.NET Data Services also know as Astoria, is the getting the data access layer (DAL) in a Representational State Transfer (REST ) way, by an URL like an SOAP web service.