`
0428loveyu
  • 浏览: 30528 次
  • 性别: Icon_minigender_2
  • 来自: 西安
文章分类
社区版块
存档分类
最新评论

《ASP.NET 3.5 Social Networking》 - 书摘精要

 
阅读更多
(P7) These communities are able to generate income from advertising and additional paid services;

(P13) Unlike many books, we will not just discuss core concepts with demos in the form of snippets. We will build on entire working site from the ground up;

(P15) Problem --> Design --> Solution;

(P16)
A user's profile is really just an extension of his / her account;

Account - hold the login information;
Profile - hold all the personal identifiers;

(P18) Messaging is essential to any community site as it allows users to communicate with one another directly;

(P21)
Blogging is often a major feature in any community site as it gives those who enjoy speaking to the world a tool to do just that;

One of the biggest benefits for a community with active bloggers is that you are acquiring a large amount of free content to feed the various search engine spiders with. This in turn will help you get your search ranking up, which will drive more traffic to your site, and will in turn grow your community;

(P25) Anyone can build a mom and pop community site with the feature that we discussed. However, if you want to build a site that can grow with your community. We will want to start building it in a certain way from the beginning;

(P31) A module is a group of features and functionality in your application;

(P33) A Repository is an object whose purpose is specific to a single Entity object;

(P35) The presenter is a separate class file. There should be one presenter file per webpage;

(P35) On loading, the view would instantiate its presenter and pass a reference of itself to that presenter. This passes the control of the view to the presenter. The view then calls on init method in the presenter. The presenter is now responsible for initializing the page;

(P40)
LINQ to SQL classes - one .dbml file;
Each class that represents a table will have all the columns of the tables represented as fields and properties for that class;

(P41) The connection class gives us a way to encapsulate our DataContext creation;

(P43)
Once we have the DataContext defined, we can perform our query;

The reason we have specified from prior to anything else is so that visual studio Intellisense can be used;

(P44)
"It is better to have and not need, than need and not have!"

Configuration - For the configuration wrapper. We want to create something that is capable of returning a strongly typed item out of our configuration source. Of cource, this configuration source will initially be the standard web.config;

(P50) The Fisharoo.FisharooCore Properties is what gives us access to our newly created settings file;

(P56)
HttpContext.Current.Cache;
HttpContext.Current.Session;
HttpContext.Current.Response;

(P57) Sending emails is one task that every website has to be capable of;

(P61) Finally, we get to the Send() method that is used by all of the other methods. This method is responsible for actually sending the emails. But before this method performs any action, we need to add the following section to our web.configjust after the configuration tag. It is responsible for telling the .NET framework how to connect to our mail server;

(P62) What about errors those occur outside of the environment? The easiest thing to do in a web environment is to tap into the Application_Error event handler using the Global.asax file;

(P86) LINQ requires us to have a Timestamp so that we can easily use the Attach() method for persisting data to the database;

(P93) Any time we work with out LINQ classes or data, we will be going through the FisharooContext class;

(P94)
A Repository provides us with a single place to go for our data (which doesn't necessarily have to be a database);

Repositories --> Connection --> DataContext --> SQL;

Each repository will be responsible for data related to a particular entity;

(P98) LINQ - Entire query is wrapped in parenthesis, this allows me to chain methods on top of the result set;

(P99)
If the object does have an AccountID, it can't be new. If it doesn't have an AccountID, it must be new;

A new object is easy to work with. We simply call the DataContext.CollectionOfObjects.InsertOnSubmit(objectToAdd) method;

(P111) Extension Method - The only difference between this method and one you would normally write is the this reference preceding the first parameter;

(P114) The presenter is the only part of our front end that is capable of interacting with our domain logic;

(P145) As with all of the other controls and classes that .NET exposes to us, it is a good idea to wrap the SiteMap class;

(P155) An avatar is a small ico or image that is associated with each user's profile;

(P170)
A service os solely responsible for making complex tasks easy to work with and re-usable;

OnInit() - Our dynamic controls were added in OnInit(). It was rendered dynamically will exist in ViewState;

(P192) HTTP modules are executed in the ASP.NET pipeline prior to HTTP handlers;

(P221) A user control is like a small self-contained page that you can then insert into your page (or master page);

(P310)
ListView - <LayoutTemplate><ItemTemplate><EmptyItemTemplate>;

(P337) SEO (Search Engine Optimization) is generally defined as the process that optimizes organic search traffic;

(P439) We are initializing the control in the overriden OnInit() Method. This allows us to get the control's output into the ViewState so that we can access everything down the road;
分享到:
评论

相关推荐

    ASP.NET3.5 Social Networking

    《ASP.NET 3.5 社交网络》是一本针对ASP.NET 3.5框架下构建社交网络平台的专业书籍。本书旨在帮助已有一定基础和经验的开发者深入理解Web开发技术,特别是如何利用ASP.NET 3.5的强大功能来创建互动性强、用户参与度...

    C#.NET 3.5 Social Networking

    《C#.NET 3.5 社交网络》是一本深度探讨如何利用ASP.NET 3.5框架构建社交网络系统的专业教程。这本书旨在为开发者提供一个通往Web2.0时代的通行证,通过学习,读者可以掌握构建高效、互动的社交网络平台所需的关键...

    ASP.NET 3.5 Social Networking

    majority of today's social networks or online communities. Not only will we discuss the features, their purpose, and how to go about building them, but we will also take a look at the construction of ...

    [SNS] ASP.NET 3.5 社交网站 开发教程 (英文版)

    [Packt Publishing] ASP.NET 3.5 Social Networking (E-Book) ☆ 图书概要:☆ This book will show you how to create a scalable, maintainable social network that can support hundreds of thousands of ...

    asp.net3.5社交网络开发

    《ASP.NET 3.5社交网络开发》是针对使用ASP.NET 3.5技术构建社交网络平台的专业指南。这本书深入探讨了如何利用Microsoft的这款强大框架来创建具有互动性、实时性和用户友好的社交网络应用。以下是该主题涵盖的一些...

    ASP.NET 3.5 社交网络开发(asp_dot_net_35_social_networking)

    ### ASP.NET 3.5 社交网络开发 #### 核心知识点概览 1. **ASP.NET 3.5 概述** 2. **社交网络应用架构设计** 3. **用户认证与授权机制** 4. **数据存储与管理策略** 5. **社区功能模块实现** 6. **性能优化与安全...

    ASP.NET 4 Social Networking

    综上所述,《ASP.NET 4 Social Networking》是一本非常适合ASP.NET和C#开发者深入了解社交网络应用开发领域的实用指南。通过本书的学习,开发者不仅可以掌握社交网络的关键技术和最佳实践,还能将其应用到实际项目中...

    AForge.NET Framework-2.2.5-(libs only).rar

    5. **Networking** - 为了实现远程数据传输,AForge.NET还包含网络通信组件,支持TCP/IP和UDP协议,方便在不同设备间传输图像和视频数据。 6. **Mathematics** - 提供了一些数学工具,如矩阵运算、统计计算,为图像...

    VB.NET - Advanced .NET Framework (Networking) - Us_Framework_Soc

    VB.NET - Advanced .NET Framework (Networking) - Use Sockets

    Social-Networking-File-源码.rar

    【标题】"Social-Networking-File-源码.rar" 提供的是一个关于社交网络应用的源代码集合。从这个标题我们可以推测,这个压缩包可能包含了一个或多个用于构建社交网络平台的软件项目的源代码。这可能是一个示例项目、...

    Practical .NET 2.0 Networking Projects

    Apress出版的《实用.NET 2.0网络项目》英文原版及源码 &lt;br&gt;第一章讲Socket编程,实现一个聊天程序 第二章讲串口编程 第三章讲指纹识别编程 第四章讲红外线编程 第五章讲智能卡(RFID)编程 第六章...

    Essential Windows Communication Foundation For .NET Framework 3.5

    With .NET 3.5, WCF has been extensively revamped--and Visual Studio 2008 gives developers powerful new tools for utilizing it. Essential Windows Communication Foundation shows developers exactly how ...

    Drupal6SocialNetworking-英文原版.zip

    Drupal 6 Social Networking 是一本专为想要利用 Drupal 构建社交网络平台的用户而准备的指南。这本书深入探讨了 Drupal 6 的核心功能以及如何利用它来创建具有互动性、社区性和用户参与度的网站。以下是一些主要的...

    PyPI 官网下载 | networking-bigswitch-9.42.1.tar.gz

    《PyPI官网下载 | networking-bigswitch-9.42.1.tar.gz——探索Python在分布式云原生环境中的网络管理》 在当今的数字化时代,云计算和分布式系统已经成为技术发展的主流,而Python作为一门强大且易用的编程语言,...

    ASP.NET 2.0 AJAX高级编程(Professional ASP.NET 2.0 AJAX)

    Chapter 6 - ASP.NET AJAX Networking Chapter 7 - ASP.NET AJAX Application Services Chapter 8 - Rich AJAX Toolkit Controls Chapter 9 - Testing and Debugging ASP.NET AJAX Applications Chapter 10...

    Python库 | jm-networking-1.0.1.tar.gz

    资源分类:Python库 所属语言:Python 资源全名:jm-networking-1.0.1.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059

    Python库 | networking-spp-0.0.0.tar.gz

    《Python库:networking-spp-0.0.0详解》 在计算机编程领域,Python是一种广泛使用的高级编程语言,以其简洁的语法和强大的库支持而受到开发者们的喜爱。在Python的世界里,库扮演着至关重要的角色,它们为开发者...

    Packt.ASP.NET.4.Social.Networking

    Packt.ASP.NET.4.Social.Networking

    Employment-Social-Networking-App:Employment-Social-Networking-App建立在React + Redux + Node.js + Express之上

    用于开发Employment-Social-Networking-App的技术堆栈(有关详细信息,请查看package.json): 前端:React16,redux,react-redux,react-router4,socket.io-client,antd-mobile,axios,react-addons-css-...

    Computer Networking-A Top-down aproach

    《计算机网络:自顶向下方法》是计算机网络领域的经典教科书,由James F. Kurose和Keith W. Ross共同编著。这本书被广泛用于高校计算机科学与工程专业的课程教学中,是学习网络技术的基础读物之一。...

Global site tag (gtag.js) - Google Analytics