Endereçamento IP

IP Address Class Network and Host Capacities IP Address Class Total # Of Bits For Network ID / Host ID First Octet of IP Address # Of Network ID Bits Used To Identify Class Usable # Of Network ID Bits Number of Possible Network IDs # Of Host IDs Per Network ID Class A 8 / 24 0xxx xxxx 1 8-1 = 7 27-2 = 126 224-2 = 16,277,214 Class B 16 / 16 10xx xxxx 2 16-2 = 14 214 = 16,384 216-2 = 65,534 Class C 24 / 8 110x xxxx 3 24-3 = 21 221 = 2,097,152 …

Continue Reading

OBTENDO O APIPA

(AUTOMATIC PRIVATE IP ADDRESSING – ENDEREÇAMENTO IP PARTICULAR AUTOMÃ?TICO) A implementação do TCP/IP do Windows XP Professional suporta conceder o endereço IP para configurações de uma rede básica. Esse mecanismo é uma extensão do endereço IP dinâmico concedido para os adaptadores de rede, ativando as configurações do endereço IP sem usar um endereço IP concedido pelo DHCP Server. O APIPA é ativado por padrão no Windows XP Professional para que usuários domésticos ou usuários de pequenas redes possam usar uma única subnet, baseado em uma rede TCP/IP sem ter que configurar o protocolo TCP/IP manualmente ou configurar um DHCP server. …

Continue Reading

Handling Errors

Quando ocorre um erro numa pagina. o ASP.NET envia informação sobre o erro para o cliente. Os erros são divididos em 4 categorias: Configuration errors: Occur when the syntax or structure of a Web.config file in the configuration hierarchy is incorrect. Parser errors: Occur when the ASP.NET syntax on a page is malformed. Compilation errors: Occur when statements in a page’s target language are incorrrect. Run-time errors: Occur during a page’s execution, even though the errors could not be detected at compile time. By default, the information shown for a run-time error is the call stack (the chains of procedure …

Continue Reading

O arquivo Global.asax

O arquivo Global.asax opera de maneira semelhante as páginas *.aspx. Você utiliza o Global.asax para sincronizar qualquer evento exposto pela classe HttpApplication. Eventos quais veremos abaixo: Evento Descrição AcquireRequestState Accionado quando o Aplicativo obtém o cache para a solicitação. AuthenticateRequest Accionado quando o Aplicativo tenta autenticar a solicitação de HTTP. AuthorizeRequest Accionado quando o Aplicativo tenta autorizar a solicitação de HTTP. BeginRequest Accionado quando a solicitação de HTTP é iniciada. EndRequest Acionado quando a solicitação de HTTP é concluída. Error Acionado quando surge um erro. PostRequestHandlerExecute Accionado imediatamente depois do handler de HTTP processar a solicitação. PreRequestHandlerExecute Accionado imediatamente antes …

Continue Reading

ASP.NET supports two methods to author pages:

In-line code is code that is embedded directly within the ASP.NET page. Code-behind refers to code for your ASP.NET page that is contained within a separate class file. This allows a clean separation of your HTML from your presentation logic. When we use Microsoft Visual Studio .NET to create ASP.NET Web Forms, code-behind pages are the default method. In addition, Visual Studio .NET automatically performs precompilation for us when we build our solution. A little bit of background Directives in ASP.NET control the settings and properties of page and user control compilers. They can be included anywhere on a page, …

Continue Reading

Terminal Services Keyboard Shortcuts

Keyboard Shortcut Function Alt+Del Displays the active application’s Control menu. Alt+Home Opens the Windows Start menu within the client session. Alt+Page Down Cycles (from right to left) through the current taskbar programs. Alt+Page Up Cycles (from left to right) through the current taskbar programs. Ctrl+Alt+Break Toggles the client session between windowed and full-screen modes. Ctrl+Alt+End Opens the Windows Security dialog box, similar to pressing Ctrl+Alt+Del on the local workstation’s keyboard. Ctrl+Alt+Ins Cycles through the current taskbar programs in the order in which the user started them. Ctrl+Alt+Plus (+) Copies a snapshot of the entire client-session desktop area to the clipboard, …

Continue Reading

ASP.NET 2.0 Master Pages

ASP.NET 2.0 introduces a new concept known as Master Pages, in which you create a common base master file that provides a consistent layout for multiple pages in your application. To create a Master Page, you identify common appearance and behavior factors for the pages in your application, and move those to a master page. In the master page, you add placeholders called ContentPlaceHolders where the content (child) pages will insert their custom content. When users request the content pages, ASP.NET merges the output of the content pages with the output of the master page, resulting in a page that …

Continue Reading