전체 글 (484) 썸네일형 리스트형 Google Search Google browser constantly crawls web sites to collect and store the data on a site. The process is called indexing and Google uses this data to match what the users search to show relative sites. So making for Google to index your site easier is the first step for your site to be on top of the search result and we will see how. Things that Affects the Indexing 1. URL URL should be human readable.. SEO (Multi-Lingual Blog Indexing) After making a multi-lingual blog on tstory. I was looking for a way to improve search results for each content when I came across how to help Google to identify pages with the same content but in different languages. Implementation The implementation is not hard. We just have to add link tags with 'rel="alternate"' on every page that is related. Insert the two-character language code for the 'l.. Creating a Unified Error Response Format Error messages returned from each error have differenct formats and this makes it hard for front developers to work with. We will see how we can solve this problem. Let's see first what I meant about the different format of each errors Implementation 1) For .NET MVC Controller Based Errors Error code methods that MVC controller provides can take a format as a parameter Create a folder to handle .. 검색 엔진최적화 (다국어 블로그) 다국어블로그를 만들고 검색 엔진최적화 부분을 알아보던 중 마침 구글의 경우 동일한 콘텐츠를 여러 언어버전으로 생성한 경우 인덱싱과 검색결과를 보여줄 때 반영할 수 있는 기능이 있어 소개해 드리고자 합니다 구현하기 구현은 아래 태그를 동일한 콘텐츠를 포함하는 모든 페이지에 삽입합니다. 'lang_code'는 두 자리 언어코드를 'url'은 해당하는 페이지 주소를 사용합니다. 예시 보기 티스토리에서 만든 다국어 블로그를 가지고 해당 기능을 구현해 보겠습니다. 관리자 화면에서 '블로그 관리' -> '스킨편집' -> 'HTML 편집' -> 'HTML' 순으로 이동하여 아래처럼 'alternate' 링크 태그를 삽입합니다. 주소 없이 링크만 삽입하는 이유는 구현된 다국어블로그 각 페이지마다 링크를 삽입하지 않고 .. Swagger When we create a Web API project a package called 'Swagger' is automatically added. Swagger is a tool that provides API documentation like PostMan. Whenever we run the API project it runs and shows us the endpoints and the results that each endpoint returns HTML 삽입 미리보기할 수 없는 소스 스웨거 웹에이피아이 프로젝트를 생성하면 자동으로 스웨거라는 패키지가 추가됩니다. 스웨거는 에이피아이 다큐먼트를 제공하는 기능을 하는 패키지 (포스트 맨과 비슷한 기능)로 앱 실행과 함께 자동으로 실행됩니다. HTML 삽입 미리보기할 수 없는 소스 Using Static Files Static files are assets such as images that we need for our application. In .NET, to use such files, we need an additional set up and I will work you through necessary steps in this writing. Creating a Project with DB Relational DB - Getting Data including Data from Other Entities (Generic Repository Pattern) Let's see how we can get data from a primary entity that has reference to other entitie.. 스태틱 파일 사용하기 스태틱 파일은 이미지 등 프로젝트에 사용되는 에셋파일을 의미합니다. .NET에서 스태틱 에셋들을 사용하기 위해 필요한 설정을 살펴볼까요? 프로젝트 구성 관계형 데이터 불러오기 (참조 데이터 포함) - 지네릭 레포지토리 패턴 엔티티프레임워크를 사용하여 관계형 테이블에서 참조하는 데이터를 포함하여 데이터를 불러오는 방법을 보겠습니다. 구현하기 애플리케이션 생성 .NET web-API 생성하기 개발도구 설치하기 .NET jin-co.tistory.com 이미지 경로 설정하기 데이터 트랜스퍼 옵젝트 (DTO) 디티오는 각 레이어 사이에 데이터를 운반하는 컨테이너로 반환되는 에이피아이 정보를 가공하는 기능을 합니다. 디티오를 사용하여 옵젝트 구조를 변경하거나 특정 데이터를 제외 또는 수정 jin-co.tistor.. 이전 1 ··· 16 17 18 19 20 21 22 ··· 61 다음